def _GetTextQuery(self):
    if self.keys() in 'q':
      return self['q']
    else:
      return None
dataset/ETHPy150Open bradfitz/addressbooker/gdata/service.py/Query._GetTextQuery/swapped operands of `in`