add ability to check if sessions are empty