final public function isActive($active = null)
    {
        if (isset($active)) {
            $this->active = (bool) $active;
            return $this;
        }
        else {
            return $this->active;
        }
    }
final public function isActive($active = null)
    {
        if (isset($active)) {
            $this->active = (bool) $active;
            return $this;
        }
        else {
            return $this->active;
        }
    }
final public function isActive ( $ active = null ) { if ( isset ( $ active ) ) { $ this -> active = ( bool ) $ active ; return $ this ; } else { return $ this -> active ; } }
Sets or gets active state of element

@param bool $active

@return \Core\Html\Bootstrap\Navbar\NavbarElementAbstract|boolean
Sets or gets active state of element