Apple Pencil detection

Is there a way how to detect at runtime if running on iPad Pro with  Pencil connected? Other than detecting type of touch.


I mean something similar to UITraitCollection.forceTouchCapability which seems to be false on iPad Pro despite providing force data.

Apple Pencil detection
 
 
Q