How to determine if Wireless is enabled and active using LANDesk

I called tech support, and was told that it was not possible to determine if wireless is enabled and active via LANDesk; however, I figured out a solution and it worked. I created the following query.

"Computer"."Network Adapters"."Network Adapter"."Active" = "Yes"
AND ("Computer"."Network Adapters"."Network Adapter"."File Description" = "Intel(r) PRO/Wireless LAN Driver"
OR ("Computer"."Network Adapters"."Network Adapter"."File Description" = "Intel(r) Wireless LAN Driver"

Tested and applied on LANDesk 8.5, LANDesk 8.6, LANDesk 8.6 SP1