class AtlasPath {

    public boolean hasCollection() {
        for (SegmentContext sc : this.segmentContexts) {
            if (sc.getCollectionType() != CollectionType.NONE) {
                return true;
            }
        }
        return false;
    }

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

}