delete IsWindows7 function