def _AssertInState(self, *states):
    """Raises an Error if the state of this range is not in states."""
    if not states in self.state:
      raise BadStateError('%s:%s not in %s' %
                          (str(self),
                           self.state_namer(self.state),
                           map(self.state_namer, states)))
dataset/ETHPy150Open IanLewis/kay/kay/management/gae_bulkloader.py/_WorkItem._AssertInState/swapped operands of `in`