public boolean isMacOs() {
    return family == Family.MAC_OS;
  }
Tells whether the operating system family is Mac OS.

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