This function has been used at least a couple times in different ALM syncs - we should consider pushing up the common code to the parent