check for valid ebooks
don't have to check for nil