code: def with_args_validator(self, matching_function):
          
          self.args = None
          self.kwargs = None
          self._custom_matcher = matching_function
          return self
docs: Define a custom function for testing arguments
  
          :param func matching_function:  The function used to test arguments passed to the stub.