Implement a SingletonMeta metaclass so that any class using it as its metaclass can only ever have one instance.
class MyService(metaclass=SingletonMeta):
pass
a = MyService()
b = MyService()
assert a is b # same objectImplement solve() which:
1. Creates two instances of MyService.
2. Returns True if they are the same object (is), False otherwise.
Constraints
SingletonMeta.__call__.MyService itself.Sample tests