check if session var is available in phpsession