Just wanted to recommend such a device. Not only will it show wrong pin assignment, it will also show you whether it’s just simple two-wire power cable, four wire or USB3 and how many data lanes (if it supports higher data rates, thunderbolt etc).