return repositories.get(location) != null;
Set keys = repositories.keySet(); for(Iterator iter = keys.iterator();iter.hasNext();){ if(location.indexOf((String)iter.next())!=-1){ return true; }  } return false;
    public boolean isKnownRepository(String location) {        return repositories.get(location) != null;    }