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