the Atmel SAM D21 Xplained Pro Board has simple plug-in detection for the native USB-port
see attachment
PA14 can be used to check if a cable is plugged into the target USB.
is there something like this on the zero as well ?
or how can a plug-in detection for the native USB-port realized in any other way ?