parameters: (self, key)
return_statement: return key in self._toc
docstring: Return True if the keyed message exists, False otherwise.
docstring_summary: Return True if the keyed message exists, False otherwise.
docstring_tokens: Return True if the keyed message exists False otherwise .
function: def has_key(self, key):
          """Return True if the keyed message exists, False otherwise."""
          self._refresh()
          return key in self._toc
function_tokens: def has_key ( self , key ) : self . _refresh ( ) return key in self . _toc