Get info of VR HMD through script

I am using Open XR with VRBuilder to make a VR application for PC. I am trying to apply different controller profiles based on the type of VR headset connected through the script. Is it possible to access the name of the currently connected VR HMD through the script?