pub fn is_enum_type(types: &dyn TypeDatabase, type_id: TypeId) -> bool
Check if this is an Enum type.