The booleans are unnecessary here. Could be rewritten as `return session_status() === PHP_SESSION_ACTIVE`