Statkraft AS interview question

(2nd round Personality test result-Technical interview) Write a function in Python which will search an element of a list.