text: class Singleton(object):
      _instance = None  # Keep instance reference
  
      def __new__(cls, *args, **kwargs):
          if not cls._instance:
              cls._instance = object.__new__(cls, *args, **kwargs)
          return cls._instance