結果 : python check if value is an enum