a peek function in InfoPool to check for data