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