original_string: public function isPublic()
      {
          if ($this->getIsActive() && ($this->getPublishAt()->getTimestamp() < time()) && (!$this->getExpiresAt() || $this->getExpiresAt()->getTimestamp() > time())) {
              return true;
          }
  
          return false;
      }
code: public function isPublic()
      {
          if ($this->getIsActive() && ($this->getPublishAt()->getTimestamp() < time()) && (!$this->getExpiresAt() || $this->getExpiresAt()->getTimestamp() > time())) {
              return true;
          }
  
          return false;
      }
code_tokens: public function isPublic ( ) { if ( $ this -> getIsActive ( ) && ( $ this -> getPublishAt ( ) -> getTimestamp ( ) < time ( ) ) && ( ! $ this -> getExpiresAt ( ) || $ this -> getExpiresAt ( ) -> getTimestamp ( ) > time ( ) ) ) { return true ; } return false ; }
docstring: Is visible for user?
  
  @return boolean
docstring_tokens: Is visible for user?