src/Core/Controller/AbstractController.php
public function isHmvc($boolean = null)
    {
        if ($boolean === null) {
            return $this->hmvc;
        }

        $this->hmvc = (bool) $boolean;

        return $this;
    }
public function isHmvc($boolean = null)
    {
        if ($boolean === null) {
            return $this->hmvc;
        }

        $this->hmvc = (bool) $boolean;

        return $this;
    }
public function isHmvc ( $ boolean = null ) { if ( $ boolean === null ) { return $ this -> hmvc ; } $ this -> hmvc = ( bool ) $ boolean ; return $ this ; }
Check this controller is in HMVC that we can close some behaviors.

@param   boolean $boolean

@return  static|boolean
Check this controller is in HMVC that we can close some behaviors .