public function isEnabled($bool = null)
    {
        if ($bool === true || $bool === false) {
            $this->isEnabled = $bool;
        }

        return $this->isEnabled;
    }
public function isEnabled($bool = null)
    {
        if ($bool === true || $bool === false) {
            $this->isEnabled = $bool;
        }

        return $this->isEnabled;
    }
public function isEnabled ( $ bool = null ) { if ( $ bool === true || $ bool === false ) { $ this -> isEnabled = $ bool ; } return $ this -> isEnabled ; }
Getter and setter for isEnabled toggle
@param mixed $bool bool|null
@return boolean
Getter and setter for isEnabled toggle