Besides Thunderbolt cables, there is not a standard nor universal way to identity them. I had to test each cable by plug in an SSD then speed test the SSD.
Flash back 15 years, a cable with MicroUSB either transfer data, or not. The difference between high speed / super speed only lives in the device.