def HasFlag(self, flag_type):
    for flag in self.__flags:
      if flag.flag_type == flag_type:
        return True
    return False
Test if the given flag has been set.
dataset/ETHPy150Open google/closure-linter/closure_linter/statetracker.py/DocComment.HasFlag