https://github.com/buttplugio/buttplug-js/blob/a2a95b87958ffdf09e14a5d8f7aef0a247025347/js/src/client/ButtplugClientDevice.ts#L137 This would be cleaner/faster as a !!thing.find() rather than thing.filter().toArray().length > 0