class LogicalTypeChecks {

	public static boolean hasNested(LogicalType logicalType, Predicate<LogicalType> predicate) {
		final NestedTypeSearcher typeSearcher = new NestedTypeSearcher(predicate);
		return logicalType.accept(typeSearcher).isPresent();
	}

	private  LogicalTypeChecks();

}