code: @SuppressWarnings({"WeakerAccess", "unused", "SameParameterValue"}) // For library users
      public boolean hasFacetRefinement(@NonNull String attribute, @NonNull String value) {
          List<String> attributeRefinements = refinementMap.get(attribute);
          return attributeRefinements != null && attributeRefinements.contains(value);
      }
docs: Checks if a facet refinement is enabled.
  
  @param attribute the attribute to refine on.
  @param value     the facet's value to check.
  @return {@code true} if {@code attribute} is being refined with {@code value}.