original_string: final public function isActive($active = null)
      {
          if (isset($active)) {
              $this->active = (bool) $active;
              return $this;
          }
          else {
              return $this->active;
          }
      }
code: final public function isActive($active = null)
      {
          if (isset($active)) {
              $this->active = (bool) $active;
              return $this;
          }
          else {
              return $this->active;
          }
      }
code_tokens: final public function isActive ( $ active = null ) { if ( isset ( $ active ) ) { $ this -> active = ( bool ) $ active ; return $ this ; } else { return $ this -> active ; } }
docstring: Sets or gets active state of element
  
  @param bool $active
  
  @return \Core\Html\Bootstrap\Navbar\NavbarElementAbstract|boolean
docstring_tokens: Sets or gets active state of element