Often times in our code we check for an entity being edited/deleted whether it has any related records and show the user a warning/error message: for example, Person "A