'Return True if the manifest has an entry corresponding to name'

def manifest_has_name(self, name):

    all_names = {self.href_to_name(x.get(u'href'), self.opf_name) for x in self.opf_xpath(u'//opf:manifest/opf:item[@href]')}
    return (name in all_names)
