parameters: (self, instrument)
return_statement: return instrument in self.__barDict
docstring: Returns True if a :class:`pyalgotrade.bar.Bar` for the given instrument is available.
docstring_summary: Returns True if a :class:`pyalgotrade.bar.Bar` for the given instrument is available.
docstring_tokens: Returns True if a : class : pyalgotrade . bar . Bar for the given instrument is available .
function: def __contains__(self, instrument):
          """Returns True if a :class:`pyalgotrade.bar.Bar` for the given instrument is available."""
          return instrument in self.__barDict
function_tokens: def __contains__ ( self , instrument ) : return instrument in self . __barDict