parameters: (object)
return_statement: return isinstance(object, types.GeneratorType)
docstring: Return true if the object is a generator.
  
      Generator objects provide these attributes:
          __iter__        defined to support iteration over container
          close           raises a new GeneratorExit exception inside the
                          generator to terminate the iteration
          gi_code         code object
          gi_frame        frame object or possibly None once the generator has
                          been exhausted
          gi_running      set to 1 when generator is executing, 0 otherwise
          next            return the next item from the container
          send            resumes the generator and "sends" a value that becomes
                          the result of the current yield-expression
          throw           used to raise an exception inside the generator
docstring_summary: Return true if the object is a generator.
docstring_tokens: Return true if the object is a generator .
function: def isgenerator(object):
      """Return true if the object is a generator.
  
      Generator objects provide these attributes:
          __iter__        defined to support iteration over container
          close           raises a new GeneratorExit exception inside the
                          generator to terminate the iteration
          gi_code         code object
          gi_frame        frame object or possibly None once the generator has
                          been exhausted
          gi_running      set to 1 when generator is executing, 0 otherwise
          next            return the next item from the container
          send            resumes the generator and "sends" a value that becomes
                          the result of the current yield-expression
          throw           used to raise an exception inside the generator"""
      return isinstance(object, types.GeneratorType)
function_tokens: def isgenerator ( object ) : return isinstance ( object , types . GeneratorType )