class PropertyEditorHelper {

    static boolean isAMatchOfFilter(String propertyNameFilter,
                                    PropertyEditorFieldInfo field) {
        if (propertyNameFilter.isEmpty()) {
            return true;
        }
        return field.getLabel().toUpperCase().contains(propertyNameFilter.toUpperCase());
    }

}