GetDeclContext
The criteria being enforced is not correct since `final` and `default` functions in interfaces have definitions.