*/
protected boolean isKnownHost() {
if (null == marketPlace) {
return false;
}
HostId currentId = getMarketPlace().getHomeId(), placeId;
// The last one does not count.
// Could have been introduced by setMarketPlace().
final int hostCount = placeList.size() - 1;
for (int pos = 0; pos < hostCount; pos++) {
placeId = placeList.get(pos);
if (currentId.equals(placeId)) {
return true;
}
}
// Nothing found, so we havent been here before.
return false;