Checks whether the current scope (or any of its parents) is deprecated.
true if this or any parent scope is deprecated, false otherwise`
See Implementation
Checks whether the current scope (or any of its parents) is deprecated.