class EmrHelper extends AwsHelper {

    public boolean isInstanceDefinitionsEmpty(InstanceDefinitions instanceDefinitions)
    {
        return (instanceDefinitions == null || (instanceDefinitions.getMasterInstances() == null && instanceDefinitions.getCoreInstances() == null &&
            instanceDefinitions.getTaskInstances() == null));
    }

}