public boolean searchForElement(String value) {
        boolean isFound = false;
        ListElement index = head;
        if (index != null) {
            if (index.next == null && index.value.equals(value)) {
                isFound = true;
            } else {
                while (index.next != null) {
                    if (!index.value.equals(value)) {
                        index = index.next;
                    } else {
                        isFound = true;
                        break;
                    }
                }
            }
        }
        return isFound;
    }