class AtlasPath {

    public boolean isIndexedCollection() {
        boolean hasIndexedCollection = false;
        for (SegmentContext sc : this.segmentContexts) {
            if (sc.getCollectionType() != CollectionType.NONE) {
                if (sc.getCollectionIndex() != null) {
                    hasIndexedCollection = true;
                }

            }
        }
        return hasIndexedCollection;
    }

    public  AtlasPath(String p);
    protected  AtlasPath(List<SegmentContext> segments);
    private  AtlasPath();

}