You can use MICDATA and check what returns the mic. If MICDATA returns something -> Action. You could also use MICSAVE if you want to make a more detailed check of the mic.