Function isOneOfEnumControl