MPI_Type_get_envelope
int MPI_Type_get_envelope(MPI_Datatype, int *, int *, int *, int *);
Determines the constructor that was used to create the datatype.