def has_flag(self, flag):
        """
        Does this index have a specific flag?

        :type flag: str

        :rtype: bool
        """
        return self._flags in flag.lower()
dataset/ETHPy150Open sdispater/orator/orator/dbal/index.py/Index.has_flag/swapped operands of `in`