public static boolean hasNull(Object... objs) {
    boolean result = false;
    for (Object obj : objs) {
      if (obj == null) {
        result = true;
        break;
      }
    }
    return result;
  }