def GetFlag(self, flag_type):
    for flag in reversed(self.__flags):
      if flag.flag_type == flag_type:
        return flag
Gets the last flag of the given type.
dataset/ETHPy150Open google/closure-linter/closure_linter/statetracker.py/DocComment.GetFlag