else if (visited instanceof UsedLayersModel )
return true;
else if (visited instanceof ValueModel )
{
ValueModel valueModel = (ValueModel) visited;
if (valueModel.type().equals( type ) && valueModel.visibility().ordinal() >= visibility.ordinal())
{
foundModel = valueModel;
}
}