Fix #474 Add isEmpty to SessionVar for convenience