parameters: (self, rhs)
docstring: Check whether the given key/value pair is in the rhs dict.
  
      Returns:
        bool
docstring_summary: Check whether the given key/value pair is in the rhs dict.
docstring_tokens: Check whether the given key / value pair is in the rhs dict .
function: def equals(self, rhs):
      """Check whether the given key/value pair is in the rhs dict.
  
      Returns:
        bool
      """
  
      try:
        return rhs[self._key] == self._value
      except Exception:
        return False
function_tokens: def equals ( self , rhs ) : try : return rhs [ self . _key ] == self . _value except Exception : return False