public static bool equals(bool self, object obj) { if (obj is Boolean) return self == ((Boolean)obj).booleanValue(); else return false; }