Is there any way to detect if a scene object is part of a prefab in an IProcessSceneWithReport callback?

PrefabUtility doesn’t seem to work in IProcessSceneWithReport, which I assume is because the prefabs are unpacked in part of the build process before IProcessSceneWithReport callbacks happen.

Is there any way to detect if a scene object is part of a prefab in an IProcessSceneWithReport callback?

Or is there maybe some way to process the scene earlier in the build process before prefabs have been unpacked?