def METHOD_NAME(self, entity):
    res = True
    if entity.specificity != Entity.Specificity.NONE:
        if entity.specificity == Entity.Specificity.ARCHIVE:
            res = entity.archive in self.get_archives()
        elif entity.specificity == Entity.Specificity.OBJ:
            res = self._match_obj(entity.archive, entity.obj) is not None
        elif entity.specificity == Entity.Specificity.SYMBOL:
            res = len(self._match_symbol(entity.archive, entity.obj, entity.symbol)) > 0
        else:
            res = False
    return res