replace

open override fun replace(old: Statement, new: Statement): Boolean

Replaces the existing node specified in old with the one in new. Implementation how to do that might be specific to the holder.

An indication whether this operation was successful needs to be returned.