final public function isLocked($namespace)
    {

        if (empty($namespace)) {

            return true; //just say its locked
        }
        //checks if a namespace in this session is locked
        $session = $this;
        //unlocks a namespace
        if (isset($session->registry[$namespace])) {
            return $session->registry[$namespace]->isLocked();
        }

        return false;
    }
final public function isLocked($namespace)
    {

        if (empty($namespace)) {

            return true; //just say its locked
        }
        //checks if a namespace in this session is locked
        $session = $this;
        //unlocks a namespace
        if (isset($session->registry[$namespace])) {
            return $session->registry[$namespace]->isLocked();
        }

        return false;
    }
final public function isLocked ( $ namespace ) { if ( empty ( $ namespace ) ) { return true ; //just say its locked } //checks if a namespace in this session is locked $ session = $ this ; //unlocks a namespace if ( isset ( $ session -> registry [ $ namespace ] ) ) { return $ session -> registry [ $ namespace ] -> isLocked ( ) ; } return false ; }
Determines whether a namespaced registry is locked

@param type $namespace
@return type
Determines whether a namespaced registry is locked