original_string: public function isNew($entity_creation_time, $history_creation_time)
      {
          $lifespan = $this->getLifespan();
  
          if (empty($history_creation_time)) {
              return (GC_TIME - $entity_creation_time) <= $lifespan;
          }
  
          return (GC_TIME - $history_creation_time) > $lifespan;
      }
code: public function isNew($entity_creation_time, $history_creation_time)
      {
          $lifespan = $this->getLifespan();
  
          if (empty($history_creation_time)) {
              return (GC_TIME - $entity_creation_time) <= $lifespan;
          }
  
          return (GC_TIME - $history_creation_time) > $lifespan;
      }
code_tokens: public function isNew ( $ entity_creation_time , $ history_creation_time ) { $ lifespan = $ this -> getLifespan ( ) ; if ( empty ( $ history_creation_time ) ) { return ( GC_TIME - $ entity_creation_time ) <= $ lifespan ; } return ( GC_TIME - $ history_creation_time ) > $ lifespan ; }
docstring: Whether an entity is new
  @param int $entity_creation_time
  @param int|null $history_creation_time
  @return bool
docstring_tokens: Whether an entity is new