EXL Service Interview Question

Build python function, if x is there in list return true