expr: __contains__ for subtree
expr: add path function
expr: check bad selection operations are all rowwise