public boolean isValidItem(EntityType et, Material mat) {
        if (et == null || mat == null) {
            return false;
        }
        try {
            if (ITEMS_REQUIRED.containsKey(et.name())) {
                if (ITEMS_REQUIRED.get(et.name()).contains("ANY")) {
                    return true;
                }
                if (ITEMS_REQUIRED.get(et.name()).contains(String.valueOf(mat.getId()))) {
                    return true;
                } else {
                    for (String s : ITEMS_REQUIRED.get(et.name())) {
                        if (s.toUpperCase().equals(mat.toString())) {
                            return true;
                        }
                    }
                }
            }
        } catch (Exception ex) {
            logDebug("isValidItem: Catching exception: " + ex.getMessage()
                    + " [: " + et.name() + "] [" + mat.name() + "] [" + ITEMS_REQUIRED.size() + "]");
            return false;
        }
        return false;
    }