isFunctionExtended

open override fun isFunctionExtended(name: String): Boolean

A subdocument inherits the parent's .extend registrations, but new ones declared inside it stay local and don't propagate back to the main document's context.