結果 : python check if value is part of enum