code: public boolean isExcluded(String endpoint) {
          for (int i = 0; i < exclusions.size(); i++) {
              if (exclusions.get(i).test(endpoint)) {
                  return true;
              }
          }
          return false;
      }
docs: This method determines whether the supplied endpoint should be
  excluded.
  
  @param endpoint The endpoint to check
  @return Whether the supplied endpoint should be excluded