Validate whether an enum type is supplied in EnumConversion