'Given a session id, retrieve the session (this is primarily
intended to be called by web clients)
Args:
csessid (int): Session id.
Returns:
session (list): The matching session, if found.'

def sessions_from_csessid(self, csessid):

    return [sess for sess in self.get_sessions(include_unloggedin=True) if (hasattr(sess, 'csessid') and sess.csessid and (sess.csessid == csessid))]
