Check that there are books in a list before displaying it