original_string: public function ready_to_train($range) {
          $now = time();
          if ($range['time'] <= $now && $range['end'] <= $now) {
              return true;
          }
          return false;
      }
code: public function ready_to_train($range) {
          $now = time();
          if ($range['time'] <= $now && $range['end'] <= $now) {
              return true;
          }
          return false;
      }
code_tokens: public function ready_to_train ( $ range ) { $ now = time ( ) ; if ( $ range [ 'time' ] <= $ now && $ range [ 'end' ] <= $ now ) { return true ; } return false ; }
docstring: Should we use this time range for training?
  
  @param array $range
  @return bool
docstring_tokens: Should we use this time range for training?