code: def method_already_there(object_type, method_name, this_class_only=False):
      
      if this_class_only:
          return method_name in vars(object_type)  # or object_type.__dict__
      else:
          try:
              method = getattr(object_type, method_name)
          except AttributeError:
              return False
          else:
              return method is not None and method is not getattr(object, method_name, None)
docs: Returns True if method `method_name` is already implemented by object_type, that is, its implementation differs from
      the one in `object`.
  
      :param object_type:
      :param method_name:
      :param this_class_only:
      :return: