compose check/select for deleting an entity.