def METHOD_NAME(self) -> int:
    """
    Returns the maximum number of steps. Is used to know when the trainer should be stopped.
    :return: The maximum number of steps of the trainer
    """
    return self.trainer_settings.max_steps