code: function via_in_ways(via, ways) {
    return ways.filter(function(e) {
      return JSON.stringify(via.geometry.coordinates) !==
        JSON.stringify(e.geometry.coordinates[0]) &&
        JSON.stringify(via.geometry.coordinates) !==
          JSON.stringify(
            e.geometry.coordinates[e.geometry.coordinates.length - 1]
          );
    }).length > 0;
  }
docs: Checks for existence of name tag and if it is modified between old and new version, it callbacks with the result.
  @param {object} newVersion Features new version in GeoJSON.
  @param {object} oldVersion Features old version in GeoJSON.
  @returns {bool} Boolean indicating a turn restriction.