How to use [exists]
The reference page of exists has its arguments, constraints and declaration.
[exists] will evaluate to true if its specified expression yields one or more results. If not, it will return false.
.src1
foo
.src2
exists:x:@.src1/*
exists:x:@.src2/*