public function isLocked()
    {
        $this->_validate();
        if ($_SESSION[$this->secretStorage]['locks'][$this->_namespaceName] == true) {
            return true;
        }
        return false;
    }
public function isLocked()
    {
        $this->_validate();
        if ($_SESSION[$this->secretStorage]['locks'][$this->_namespaceName] == true) {
            return true;
        }
        return false;
    }
public function isLocked ( ) { $ this -> _validate ( ) ; if ( $ _SESSION [ $ this -> secretStorage ] [ 'locks' ] [ $ this -> _namespaceName ] == true ) { return true ; } return false ; }
Check if a namespace is currently locked.

@return boolean
@throws \Exception
Check if a namespace is currently locked .