Returns a boolean stored at the key position in session

@param string $key
the key to add or set
@return boolean
545146
public static function getBoolean($key) {
		self::start ();
		$ret = false;
		if (isset ( $_SESSION [$key] )) {
			$ret = UString::isBooleanTrue ( $_SESSION [$key] );
		}
		return $ret;
	}
1214277
public static function get(string $key)
    {
        // Start session if needed
        if (! session_id()) {
            self::start();
        }

        // Fetch key
        if (Session::exists((string) $key)) {
            return $_SESSION[(string) $key];
        }

        // Key doesn't exist
        return null;
    }
1212782
public function __isset($key) {
        switch (true) {
            case isset($this->_params[$key]):
                return true;
            case isset($this->GET[$key]):
                return true;
            case isset($this->POST[$key]):
                return true;
            case isset($_COOKIE[$key]):
                return true;
            case isset($this->SERVER[$key]):
                return true;
            case isset($this->ENV[$key]):
                return true;
            default:
                return false;
        }
    }
994593
public function __isset($key)
    {
        return (isset($this->attributes[$key]) && null !== $this->getAttributeValue($key));
    }
247817
public function get($key)
    {
        if (isset($this->storage[$key])) {
            return $this->storage[$key];
        }
        return false;
    }
568298
public final function get ($key)
    {
        if (in_array($key, $this->getColumn())) {
            return $this->record->{$key};
        }

        return false;
    }
213591
public function getBoolean($key)
    {
        try {
            $result = $this->get(self::BOOLEAN, $key);
            if (!settype($result, 'boolean')) {
                return false;
            }
        } catch (\Exception $e) {
            return false;
        }
        return $result;
    }
1045049
public static function get($key, $secondKey = false)
    {
        self::setPrefix();

        if ($secondKey == true) {

            if (isset($_SESSION[self::$_sessionPrefix . $key][$secondKey])) {
                return $_SESSION[self::$_sessionPrefix . $key][$secondKey];
            }

        } else {

            if (isset($_SESSION[self::$_sessionPrefix . $key])) {
                return $_SESSION[self::$_sessionPrefix . $key];
            }

        }

        return false;
    }
1193634
public static function issetValue(string $key): bool
    {
        $key = \mb_strtolower($key);
        return isset(self::$_data[$key]);
    }
1181595
public function has($key) {
        if (is_array($key)) {
            $key = $key['key'];
        }
        return isset($this->store[$key]);
    }
954623
public function hasValue(string $key): bool
    {
        if (!$this->isValid()) {
            return false;
        }

        return $this->storage->hasValue($key);
    }
223815
public function getStorageValue($key = false) {
        $key = (!$key ? $this->name."InputResult" : $key);
        $storedData = $this->storedFormData;
        if (empty($storedData)) {
            $storageContainer = $this->getStorageContainer();
            if ($storageContainer->offsetExists($key))
                $storedData = $storageContainer->get($key);
            else return false;

        }
        return $storedData;
    }
1290104
public function hasStored(string $key)
    {
        if (isset($this->store[$key])) {
            return true;
        }

        if (isset($this->aliases[$key])) {
            return isset($this->store[$this->aliases[$key]]);
        }

        return false;
    }
129638
public function __isset($key)
    {
        if (!array_key_exists($key, $this->props)) {
            try {
                $this->__get($key);
            } catch (FieldNotExist $e) {
                return false;
            }
        }
        return true;
    }
186953
public static function pull($key)
    {
        self::setPrefix();
        $value = $_SESSION[self::$_sessionPrefix . $key];
        unset($_SESSION[self::$_sessionPrefix . $key]);

        return $value;
    }
966597
public function remove($key) {
        $key = $this->secureKey($key);
        
        if (isset($_SESSION[$key])) unset($_SESSION[$key]);
        
        return $key;
    }
295874
public function __isset($key)
	{
		if (!$this->_isParsed)
		{
			$this->_parseData();
			$this->_isParsed = true;
		}

		return isset($this->_parsedData->$key);
	}