Aux Channel Detection in Logic Pro

Hi!

I’m trying to detect what kind of channel my pluggin is inserting into. How can I tell if it is an audio channel or an auxiliary channel? I am developing for Logic Pro X.

Thanks.