def method_overridden(method_name, klass, instance):
 method = getattr(klass, method_name)
 default_method = getattr(method, u'__func__', method)
 return (default_method is not getattr(instance, method_name).__func__)

def method_overridden ( method_name , klass , instance ) : method = getattr ( klass , method_name ) default_method = getattr ( method , u'__func__' , method ) return ( default_method is not getattr ( instance , method_name ) . __func__ )
determine if a method has been overridden .