opal.session_exists function

Check if the R session exists