You buy it. Hold it upside down with your finger in the drain hold and tap its rim with your knuckle. A solid, uncracked container will have a distinct ring to it while a pot with air bubbles or other flaws will sound a bit muffled.