No it does not exist. For most z probes there is no signal to detect this, some do not interphere and others get disabled automatically after homing. And apart from this it is not so easy to say if a move is for probing or from print. Except maybe extrusion moves but even these might occur in some cases.