If there is nothing similar to pXent_gettype. I think that a function that get the type of a pXent and per example return 0 if it is not registered would be useful. Per example an script that move an object will be able to know if it is registered and manage differently based on the type.