public function offsetExists($offset)
    {
        //argument 1 must be scalar, null or bool
        Argument::i()->test(1, 'scalar', 'null', 'bool');

        if (!self::$session) {
            Exception::i()->setMessage(self::ERROR_NOT_STARTED)->trigger();
        }

        return isset($_SESSION[$offset]);
    }
public function offsetExists($offset)
    {
        //argument 1 must be scalar, null or bool
        Argument::i()->test(1, 'scalar', 'null', 'bool');

        if (!self::$session) {
            Exception::i()->setMessage(self::ERROR_NOT_STARTED)->trigger();
        }

        return isset($_SESSION[$offset]);
    }
public function offsetExists ( $ offset ) { //argument 1 must be scalar, null or bool Argument :: i ( ) -> test ( 1 , 'scalar' , 'null' , 'bool' ) ; if ( ! self :: $ session ) { Exception :: i ( ) -> setMessage ( self :: ERROR_NOT_STARTED ) -> trigger ( ) ; } return isset ( $ _SESSION [ $ offset ] ) ; }
isset using the ArrayAccess interface

@param *scalar|null|bool $offset The key to test if exists

@return bool
isset using the ArrayAccess interface