def dominates(p, q):
return (len(p) == len(q) and<EOL>all(map(lambda es: es[<NUM_LIT:0>] == es[<NUM_LIT:1>] or es[<NUM_LIT:0>] == '<STR_LIT:*>', zip(p, q))))<EOL>
Test for path domination.  An individual path element *a*
dominates another path element *b*, written as *a* >= *b* if
either *a* == *b* or *a* is a wild card.  A path *p* = *p1*, *p2*,
..., *pn* dominates another path *q* = *q1*, *q2*, ..., *qm* if
*n* == *m* and, for all *i*, *pi* >= *qi*.