Checks whether the given query needs the TestSuite at testSuitePath to execute or not.
Checks whether the given query needs the TestSuite at testSuitePath to execute or not. It needs to execute if one of the terminal nodes in the query is one of the TestSuite's ancestors in the tree, or one-or-more of it's children, but not if the terminal nodes are unrelated.