def METHOD_NAME(self, entity, tag=None, ns=None, label=None):
    if tag is None:
        assert None not in (ns, label)
        tag = self.get(ns, label)
    tags = self.entity_tags(entity)
    try:
        tags.METHOD_NAME(tag)
    except KeyError:
        pass