public boolean hasTag(System theSystem, String theTerm) {
   for (ResourceTag next : getTags()) {
     if (next.getTag().getSystem().equals(theSystem) && next.getTag().getCode().equals(theTerm)) {
       return true;
     }
   }
   return false;
 }