It's a bit dumb but I didn't know how to do this.
Turns out the best way to is use the maya.cmds.pluginInfo command with some flags. See below for example:
-------------------------------------------------------------------------------
import maya.cmds as mc
vray_node_list = mc.pluginInfo("vrayformaya", q=True, dn=True)