public boolean needsPropertiesUpdate() {
        return !specToHostPortVariableMap.isEmpty() || !specToHostIpVariableMap.isEmpty();
    }
Check whether property needs updates for dynamically obtained host ports and ip adresses.

@return true if any property are used which need to be filled in, false otherwise
src/main/java/io/fabric8/maven/docker/access/PortMapping.java