public boolean isUsing(Class<? extends DockerClientProviderStrategy> providerStrategyClass) {
        return strategy != null && providerStrategyClass.isAssignableFrom(this.strategy.getClass());
    }
@param providerStrategyClass a class that extends {@link DockerMachineClientProviderStrategy}
@return whether or not the currently active strategy is of the provided type
core/src/main/java/org/testcontainers/DockerClientFactory.java