code: def get_arg_or_attr(self, name, default=None):
          
          if name in self.flow_args:
              return self.flow_args[name]
          try:
              return getattr(self, name)
          except AttributeError:
              return default
docs: Returns flow argument, as provided with sitegate decorators
             or attribute set as a flow class attribute or default.