added isDirecotry function to ListEntryItem.java