in aidial_sdk/utils/_reflection.py [0:0]
def get_method_implementation(obj: Any, method_name: str) -> Optional[Any]:
"""
Get the method implementation of an object instance.
"""
if has_method_implemented(obj, method_name):
return getattr(obj, method_name)
return None