def isVista(self):
        if getattr(sys, "getwindowsversion", None) is not None:
            return sys.getwindowsversion()[0] == 6
        else:
            return False
Check if current platform is Windows Vista or Windows Server 2008.
dataset/ETHPy150Open twisted/twisted/twisted/python/runtime.py/Platform.isVista