private static function isSessionEnabled() { return Session::isWritable() && Session::isReadable(); }