Finding out whether or not you have an affected cable is no easy
feat, though. My girlfriend has a new Macbook and it took me a
few minutes (and a very bright light!) to find the text — it's
printed very faintly — on the cable. (Fortunately, her cable is
fine.)

Here's where it is on her cable:Tim Stenovec/Tech Insider

A close up shot that shows just how faint the text
is:Tim Stenovec/Tech Insider

Apple introduced the USB-C charging cable on its Macbook last
year, and so far, it's the only Apple product that uses it. But
unlike other laptops Apple has released, which use proprietary
charging cables, the USB-C is a standard cable that is used by
many companies. Google's Chromebook Pixel uses it, as do some
Android smartphones like the Nexus 5X, Nexus 6P, and the
OnePlus2.