public static int direction(Object input) {
    return Imposm3Parsers.direction(input);
  }
Returns {@code tag} parsed as an integer where 1 is true, 0 is false.
planetiler-core/src/main/java/com/onthegomap/planetiler/util/Parse.java