the nickel is the key to forming austenite stainless steel.
so the "magnet test" is to take a magnet to your stainless steel cookware, and if it sticks, it's "safe"--indicating no nickel present--but if it doesn't stick, then it's not safe, and contains nickel (which is an austenite steel).