docs: def _take_action(self):
          """Determines whether to perform the action or not.
  
          Checks whether or not an action should be taken. This is determined by
          the truthy value for the unless parameter. If unless is a callback
          method, it will be invoked with no parameters in order to determine
          whether or not the action should be taken. Otherwise, the truthy value
          of the unless attribute will determine if the action should be
          performed.
          """
          # Do the action if there isn't an unless override.
          if self.unless is None:
              return True
  
          # Invoke the callback if there is one.
          if hasattr(self.unless, '__call__'):
              return not self.unless()
  
          return not self.unless