parameters: (self, rhs)
docstring: Check to see if the RHS is an instance of class_name.
  
      Args:
        # rhs: the right hand side of the test
        rhs: object
  
      Returns:
        bool
docstring_summary: Check to see if the RHS is an instance of class_name.
docstring_tokens: Check to see if the RHS is an instance of class_name .
function: def equals(self, rhs):
      """Check to see if the RHS is an instance of class_name.
  
      Args:
        # rhs: the right hand side of the test
        rhs: object
  
      Returns:
        bool
      """
  
      try:
        return isinstance(rhs, self._class_name)
      except TypeError:
        # Check raw types if there was a type error.  This is helpful for
        # things like cStringIO.StringIO.
        return type(rhs) == type(self._class_name)
function_tokens: def equals ( self , rhs ) : try : return isinstance ( rhs , self . _class_name ) except TypeError : # Check raw types if there was a type error.  This is helpful for # things like cStringIO.StringIO. return type ( rhs ) == type ( self . _class_name )