code: def _ScheduleTask(self, task):
      
      if self._processing_profiler:
        self._processing_profiler.StartTiming('schedule_task')
  
      try:
        self._task_queue.PushItem(task, block=False)
        is_scheduled = True
  
      except errors.QueueFull:
        is_scheduled = False
  
      if self._processing_profiler:
        self._processing_profiler.StopTiming('schedule_task')
  
      return is_scheduled
docs: Schedules a task.
  
      Args:
        task (Task): task.
  
      Returns:
        bool: True if the task was scheduled.