public boolean isWindows() {
    return family == Family.WINDOWS;
  }
Tells whether the operating system family is Windows.

@return whether the operating system family is Windows
spock-core/src/main/java/spock/util/environment/OperatingSystem.java