original_string: public function isVisitTime($timestamp = null)
      {
          $timestamp = is_int($timestamp) ? $timestamp : time();
          foreach ($this->times as $time) {
              if ($this->isBetween($timestamp, $time['from'], $time['to'], 'Hi')) {
                  return true;
              }
          }
          return empty($this->times);
      }
code: public function isVisitTime($timestamp = null)
      {
          $timestamp = is_int($timestamp) ? $timestamp : time();
          foreach ($this->times as $time) {
              if ($this->isBetween($timestamp, $time['from'], $time['to'], 'Hi')) {
                  return true;
              }
          }
          return empty($this->times);
      }
code_tokens: public function isVisitTime ( $ timestamp = null ) { $ timestamp = is_int ( $ timestamp ) ? $ timestamp : time ( ) ; foreach ( $ this -> times as $ time ) { if ( $ this -> isBetween ( $ timestamp , $ time [ 'from' ] , $ time [ 'to' ] , 'Hi' ) ) { return true ; } } return empty ( $ this -> times ) ; }
docstring: Is visit-time
  
  @param int|null $timestamp
  @return bool
docstring_tokens: Is visit - time