private bool FindSubset(ArrayList source, ArrayList target) {
foreach (EndpointPermission e in source) {
bool found = false;
foreach (EndpointPermission ee in target) {
if (e.SubsetMatch(ee)) {
found = true;
break;
}
}
if (!found) {
return false;
}
}
return true;
}