Model.
get_session_type
Tests whether the model session is defined and still active
‘CAS’ for CAS sessions, ‘SAS’ for SAS sessions