s4-upgradeprovision: add function to know if attribute is replicated or not