public static function loggedCanAccessToRoute($route, $accesslevel) {
		$user = static::getLoggedUser();
		if( !ctype_digit($accesslevel) ) {
			$accesslevel = static::getRoleAccesslevel($accesslevel);
		}
		$accesslevel = (int) $accesslevel;
		return ( empty($user) && $accesslevel < 0 ) ||
			( !empty($user) && $accesslevel >= 0 &&
				$user instanceof AbstractUser && $user->checkPerm($accesslevel));
	}