class InstanceOfferManager {

    public boolean isInstanceAllowed(final String instanceType, final Long regionId, final boolean spot) {
        return isInstanceTypeAllowed(instanceType, null, defaultRegionIfNull(regionId),
                INSTANCE_TYPES_PREFERENCES, spot);
    }

}