implemented a condition checker for the linked conditions in syn
templates

so far, it only checks conditions based on sequence