結果 : check if value is part of enum python