code: def is_ready_update(self):
          
          size_of_buffer = len(self.training_buffer.update_buffer['actions'])
          return size_of_buffer > max(int(self.trainer_parameters['buffer_size'] / self.policy.sequence_length), 1)
docs: Returns whether or not the trainer has enough elements to run update model
          :return: A boolean corresponding to whether or not update_model() can be run