結果 : how to check if an array has an element in python