default boolean hasTag(String key, Object value1, Object value2) {
    Object actual = getTag(key);
    if (actual == null) {
      return false;
    } else {
      return contains(actual, value1) || contains(actual, value2);
    }
  }
Returns true if the value for {@code key} is {@code value1} or {@code value2}.
<p>
Specialized version of {@link #hasTag(String, Object, Object, Object...)} for the most common use-case of small
number of values to test against that avoids allocating an array.
planetiler-core/src/main/java/com/onthegomap/planetiler/reader/WithTags.java