public override bool Equals(object obj) {
Method other = obj as Method;
if (other == null) return false;
return
PythonOps.EqualRetBool(_inst, other._inst) &&
PythonOps.EqualRetBool(_func, other._func);
}