Added function for checking if chest is empty