Command Line to Pull Licenses on PBX

Is there anyway to pull what modules are licensed via bash or command line? I am trying to monitor if the queue call back process is running if it is licensed. I know how to monitor the process but not if it is licensed or not. Thanks for the help in advance.

They are all stored in /etc/schmooze/PBXID.zl file. Do not edit the file as it would make all your licensed products stop working but you can cat that file just fine.