def METHOD_NAME(*args, **kargs):
    if cls not in _instance:
        _instance[cls] = cls(*args, **kargs)
        return _instance[cls]
    elif _instance[cls].corrupted:
        _instance[cls] = cls(*args, **kargs)
        return _instance[cls]
    else:
        return _instance[cls]