function hasOnly (suite) {
  return suite._onlyTests.length || suite._onlySuites.length || suite.suites.some(hasOnly);
}
Determines whether a suite has an `only` test or suite as a descendant.

@param {Array} suite
@returns {Boolean}
@api private