Detect display device

How can I detect if a CUDA device is attached to a display?
I think would be a good idea to add a boolean to the cudaDeviceProp structure indicating this… so I could let the user to enable/disable the attached devices and decide if he/she wants to deal with with 5s watchdog…

thx

Are the first devices the attached-to-display ones?