private void isEqualToBoolean(final Object param, final Object value) {
		if (value instanceof Boolean) {
			if (!((Boolean) value).equals((Boolean) param)) {
				throw new IllegalStateException("Booleans are not equal.");
			}
		} else {
			throw new IllegalArgumentException();
		}
	}