class InstanceOfferManager {

    public boolean isToolInstanceAllowed(final String instanceType,
                                         final ContextualPreferenceExternalResource toolResource,
                                         final Long regionId,
                                         final boolean spot) {
        return isInstanceTypeAllowed(instanceType, toolResource, defaultRegionIfNull(regionId),
                TOOL_INSTANCE_TYPES_PREFERENCES, spot);
    }

}