Since the geometry nodes modifier has the eModifierTypeFlag_SupportsMapping flag, it is assumed that its output contains the CD_ORIGINDEX layers. A non-existant layer means that there is a 1:1 mapping, which is generally not the case.
How can we check whether these layers are actually needed? Should we check if the object is in edit mode with the cage option enabled or is there some utility?