def tags(self, id): if self.includeTags: return "\t" + ", ".join(parseTags(self.cardTags[id])) return ""
def hasTag(self, tag): return findTag(tag, parseTags(self.allTags()))