Return true if ALL of the given objects are null.
964857
public static boolean allNull(final Object... o1s) {
        if (o1s != null && o1s.length > 0) {
            for (final Object o1 : o1s) {
                if (o1 != null) {
                    return false;
                }
            }
        }
        return true;
    }
1277700
public static boolean isEmpty(@Nullable String str) {
        if (str == null || str.length() == 0) {
            return true;
        }
        return false;
    }
261536
public static <T> T checkNotNull(T obj, String name) {
    if (obj == null) {
      String msg = String.format("parameter '%s' cannot be null", name);
      throw new NullPointerException(msg);
    }
    return obj;
  }
767189
public boolean all(Object... targets) {
		if (null == targets) { return null == this.delegate; }
		
		for (Object target : targets) {
			if (null == target) { if (null != this.delegate) { return false; } continue; }
			if (target != this.delegate) { return false; }
		}
		
		return true;
	}
1351302
public static void checkNotNull(@Nullable Object object, @NonNull String message) {
        if (object == null) {
            throw new NullPointerException(message);
        }
    }
176089
public boolean isNull()
    {   // Return true if all non null fields have data in them
        int fieldCount = this.getFieldCount();  // BaseField Count
        for (int fieldSeq = DBConstants.MAIN_FIELD; fieldSeq < fieldCount+DBConstants.MAIN_FIELD; fieldSeq++)
        {
            BaseField field = this.getField(fieldSeq);
            if ((!field.isNullable()) && (field.isNull()))
                return true;            // This field can't be null!!!
        }
        return false;   // All fields okay
    }
886456
@NullSafe
  @SuppressWarnings("all")
  public static boolean areAllNull(Object... values) {

    for (Object value : nullSafeArray(values)) {
      if (value != null) {
        return false;
      }
    }

    return true;
  }
842507
function isEmpty(object) {
    if (comb.isObject(object)) {
        for (var i in object) {
            if (object.hasOwnProperty(i)) {
                return false;
            }
        }
    }
    return true;
}
1317311
@Override
	public boolean isEmpty() {
		for(List<? extends Method<? extends E>> methods : methodsByClass.values()) {
			for(Method<? extends E> method : methods) {
				E singleton = method.getSingleton(target);
				if(singleton!=null) return false;
				Set<? extends E> set = method.getSet(target);
				if(set!=null && !set.isEmpty()) return false;
			}
		}
		return true;
	}
830313
public static void objectNotNull(Object object1, String name1, Object object2, String name2) {
        if (verify) {
            if (object1 == null || object2 == null) {
                throw new IllegalArgumentException(name1+":"+object1+"  "+name2+":"+object2);
            }
        }
    }
87123
public static boolean hasMethod(Object obj, String name) {
		if (obj == null)
			throw new NullPointerException("Object cannot be null");
		if (name == null)
			throw new NullPointerException("Method name cannot be null");

		Class<?> objClass = obj.getClass();

		for (Method method : objClass.getMethods()) {
			if (matchMethod(method, name))
				return true;
		}

		return false;
	}
1308697
public static boolean equalsObjects(
      @javax.annotation.Nullable Object x, @javax.annotation.Nullable Object y) {
    return x == null ? y == null : x.equals(y);
  }
259379
public boolean isNull(int index) {
		Object value = opt(index);
		return value == null || value == JSONObject.NULL;
	}
980135
public static boolean contains(Object src, Object... dests) {
        if (dests == null) {
            throw new NullPointerException("dest must not be null");
        }

        if (src == null) {
            return false;
        }

        for (Object dest : dests) {
            if (src == dest || src.equals(dest)) {
                return true;
            }
        }
        return false;
    }
88144
public <T> void isNull(final T object, final String message) {
        if (object != null) {
            fail(message);
        }
    }
483047
@Contract(value = "null -> false; !null -> true", pure = true)
    public static boolean nonNull(@Nullable Object obj) {
        return obj != null;
    }
1055802
public static void assertAllAreNull(String messageIfNull, Object... objects) throws IllegalArgumentException {
        for (Object object : objects) {
            if (object != null) {
                throw new IllegalArgumentException(messageIfNull);
            }
        }
    }