Check that given value have GeneratorFunction name or displayName.
Check that given value is GeneratorFunction
Check whether a value is a Generator or GeneratorFunction. The co way, more strict checking. Always return boolean true or false, never null or undefined.