original_string: public function shouldExecuteTask($taskName)
      {
          $forceTaskExecution = (defined('DEBUG_FORCE_SCHEDULED_TASKS') && DEBUG_FORCE_SCHEDULED_TASKS);
  
          if ($forceTaskExecution) {
              return true;
          }
  
          return $this->taskHasBeenScheduledOnce($taskName) && time() >= $this->timetable[$taskName];
      }
code: public function shouldExecuteTask($taskName)
      {
          $forceTaskExecution = (defined('DEBUG_FORCE_SCHEDULED_TASKS') && DEBUG_FORCE_SCHEDULED_TASKS);
  
          if ($forceTaskExecution) {
              return true;
          }
  
          return $this->taskHasBeenScheduledOnce($taskName) && time() >= $this->timetable[$taskName];
      }
code_tokens: public function shouldExecuteTask ( $ taskName ) { $ forceTaskExecution = ( defined ( 'DEBUG_FORCE_SCHEDULED_TASKS' ) && DEBUG_FORCE_SCHEDULED_TASKS ) ; if ( $ forceTaskExecution ) { return true ; } return $ this -> taskHasBeenScheduledOnce ( $ taskName ) && time ( ) >= $ this -> timetable [ $ taskName ] ; }
docstring: Checks if the task should be executed
  
  Task has to be executed if :
  - the task has already been scheduled once and the current system time is greater than the scheduled time.
  - execution is forced, see $forceTaskExecution
  
  @param string $taskName
  
  @return boolean
docstring_tokens: Checks if the task should be executed