code: def is_final(name, mro):
      
      return any(isinstance(getattr(c, '__dict__', {}).get(name), final)
                 for c in bases_mro(mro))
docs: Checks if `name` is a `final` object in the given `mro`.
      We need to check the mro because we need to directly go into the __dict__
      of the classes. Because `final` objects are descriptor, we need to grab
      them _BEFORE_ the `__call__` is invoked.