How to determine whether a particle is in an excited state

Just a reminder for someone try to use /process/had/rdm/... in Geant4.10.04*, the UI command should be /grdm/... in Geant4.10*. :joy:
https://geant4-forum.web.cern.ch/t/grdm-command-not-found-in-geant4-11-1/10299/2