node canDiscardDeletion method