You can use the SMPEN output to differentiate between a retention and powerdown opportunity However  this is not a requirement and this communication might occur because of other methods such as message passing between the processor and external power controller