* Check if a key is bound in the context or its ancestors * @param key - Binding key
(key: BindingAddress)
| 468 | * @param key - Binding key |
| 469 | */ |
| 470 | isBound(key: BindingAddress): boolean { |
| 471 | if (this.contains(key)) return true; |
| 472 | if (this._parent) { |
| 473 | return this._parent.isBound(key); |
| 474 | } |
| 475 | return false; |
| 476 | } |
| 477 | |
| 478 | /** |
| 479 | * Get the owning context for a binding or its key |
no test coverage detected