code: private boolean filteredKey(@NonNull CoreConfiguration config, @NonNull String key) {
          for (String regex : config.excludeMatchingSharedPreferencesKeys()) {
              if (key.matches(regex)) {
                  return true;
              }
          }
          return false;
      }
docs: Checks if the key matches one of the patterns provided by the developer
  to exclude some preferences from reports.
  
  @param key the name of the preference to be checked
  @return true if the key has to be excluded from reports.