'Return a set of all extra keywords in self and any parents.'

def listextrakeywords(self):

    extra_keywords = set()
    item = self
    for item in self.listchain():
        extra_keywords.update(item.extra_keyword_matches)
    return extra_keywords
