def check4MaxDepthXRules(self, max_depth):

        left_side = "X"
        for key in self.table.iterkeys():
            if key[0] != left_side: continue

            for entry in self.table[key]:
                if entry.depth_hier == max_depth: return True

        return False
Checks the cell for X rules of maximum depth. Shallow-n decoding allows only max depth X antecedents for S items
dataset/ETHPy150Open sfu-natlang/Kriya/src/Kriya-Decoder/cell.py/Cell.check4MaxDepthXRules