Replaced session_is_registered is isSet