You can use the Threshold adjustment layer to check whether the background is perfectly white. You have to follow some simple steps in Photoshop. The process is mentioned above. You can check them out.