Checking for casehardening