Pergunta de entrevista da empresa EXL Service

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