docs: @Override
      public boolean hasCapability(String capabilityName, CapabilityScope scope) {
          readLock.lock();
          try {
              return findSatisfactoryCapability(capabilityName, scope, !forServer) != null;
          } finally {
              readLock.unlock();
          }
      }