How to print list of logical volumes where RDM is/isn't applied?

Hello All,

Wondering if there is a way to print list of all logical volumes where RDM is applied? Can something be done in the macro?