docs: private boolean containsType(final Set<IPermission> permissions, final String soughtType) {
  
          // Assertions
          if (permissions == null) {
              throw new IllegalArgumentException("Cannot check null set for contents.");
          }
          if (soughtType == null) {
              throw new IllegalArgumentException("Cannot search for type null.");
          }
  
          boolean rslt = false; // default
  
          for (IPermission p : permissions) {
              if (soughtType.equals(p.getType())) {
                  rslt = true;
              }
          }
  
          return rslt;
      }