code: public static boolean isWindows(){
          String os = System.getProperty("os.name");
          return os!=null && os.toLowerCase().startsWith("windows");
      }
docs: return true if operating system is Windows