How a metal detector can prevent a wrongful death lawsuit