If the property has not been set for an object, returns DX_PROP_NOPROP.
This function is needed primarily to determine if a returned value of (FALSE, NULL_OB, 0, NULL) for a property is valid. If the proptype matches the property value asked for, then the value is valid. If not, then the value returned is an error indication.