If true then only the first ancestor matching matching will be returned.
matching
final bool firstMatchOnly;