generate.js
function isGeneration(generator) {
            assertTypeError(generator, 'function');

            var _ = this;

            return _.prototype.isPrototypeOf(generator.prototype);
        }
function isGeneration(generator) {
            assertTypeError(generator, 'function');

            var _ = this;

            return _.prototype.isPrototypeOf(generator.prototype);
        }
function isGeneration ( generator ) { assertTypeError ( generator , 'function' ) ; var _ = this ; return _ . prototype . isPrototypeOf ( generator . prototype ) ; }
Returns true if 'generator' was generated by this Generator.
@param  {Generator} generator A Generator.
@return {Boolean}             true or false.
Returns true if generator was generated by this Generator .