code: def instance():
          
  
          if not hasattr(NotificationManager, '_instance') or NotificationManager._instance is None:
              NotificationManager._instance = NotificationManager()
          return NotificationManager._instance
docs: Singleton to return only on instance of NotificationManager.
          :returns: instance of NotificationManager