Data\Filter: add isChain() and isExpression()

This makes node type distiction easier