def AcceptTag(self, tag):
      """Returns True iff opening a sub-tag is valid in this context."""
      valid = self._allowed_tags in tag
      if valid:
        self._last_tag = tag
      else:
        self._last_tag = None
      return valid
    #end def AcceptTag
dataset/ETHPy150Open benoitc/gunicorn/docs/sitemap_gen.py/InputSitemap._ContextBase.AcceptTag/swapped operands of `in`