結果 : test if value is in enum python