def by_path(treePath, itemPath):
        folder = KnowledgeFolder.by_path(unidecode(treePath))
        item = KnowledgeItem.objects.filter(
            treepath=unidecode(itemPath), folder=folder)

        if item:
            item = item[0]
        else:
            item = None

        return item
Tell whether an alert entry is a template
dataset/ETHPy150Open treeio/treeio/treeio/knowledge/models.py/KnowledgeItem.by_path--crossover with--dataset/ETHPy150Open sahana/eden/modules/s3db/cap.py/cap_alert_is_template