How to check if CDC (communications device class) is enabled?

We have the ConnectCore 6UL SBC Pro and I’m trying to connect a mobile app to it via the USB port. The library on our mobile app that enables us to connect to USB devices requires that the USB device is configured as a CDC-based (communications device class) USB device. Is there a command available that allows me to check for this?