Check if a session exists before starting one.