add check in book method to library class