code: function isFootway(newVersion) {
    if (
      newVersion.properties &&
      newVersion.properties.highway === 'footway' &&
      newVersion.properties['osm:version'] === 1
    ) {
      return true;
    }
    return false;
  }
docs: check if the user is new user check if the feature is actually a footway and it is version 1 check if the footway has imposible angle check if the footway is selfintersecting