check if given session is alive