parameters: (self, other)
return_statement: return other in collector.types
docstring: Whether this type depends on another.
docstring_summary: Whether this type depends on another.
docstring_tokens: Whether this type depends on another .
function: def depends(self, other):
          '''Whether this type depends on another.'''
  
          collector = Collector()
          collector.visit(self)
          return other in collector.types
function_tokens: def depends ( self , other ) : collector = Collector ( ) collector . visit ( self ) return other in collector . types