class StackCreatorService {

    boolean shouldUseBaseCMImage(ClusterV4Request clusterRequest, String platformString) {
        ClouderaManagerV4Request cmRequest = clusterRequest.getCm();
        return hasCmParcelInfo(cmRequest) || CloudPlatform.YARN.equalsIgnoreCase(platformString);
    }

}