Merge "Check purely for the presence of a managed profile" into main