original_string: public function isPublished()
      {
          return ($this->status >= Node::PUBLISHED)
          || ($this->status >= Node::PENDING && $this->published_at <= Carbon::now());
      }
code: public function isPublished()
      {
          return ($this->status >= Node::PUBLISHED)
          || ($this->status >= Node::PENDING && $this->published_at <= Carbon::now());
      }
code_tokens: public function isPublished ( ) { return ( $ this -> status >= Node :: PUBLISHED ) || ( $ this -> status >= Node :: PENDING && $ this -> published_at <= Carbon :: now ( ) ) ; }
docstring: Checks if the node is published
  
  @return bool
docstring_tokens: Checks if the node is published