結果 : enum check if value exists python