code: def GetFlag(self, name):
      
      res = self.FlagDict().get(name)
      if res is None:
        raise exceptions.UnrecognizedFlagError(name)
      return res
docs: Same as __getitem__, but raises a specific error.