Add an allow_delete_if_only helper to the ModelResourceView