public static boolean eitherNull(Object... objs) {
    for (Object obj: objs) {
      if (obj == null) return true;
    }
    return false;
  }
Utility methods applicable to (almost) any object. Includes null-safe variants of methods on class Object.
spock-core/src/main/java/org/spockframework/util/ObjectUtil.java