code: Map<String, EdgeLabel> getUncommittedOutEdgeLabels() {
          if (this.schema.getTopology().isSqlWriteLockHeldByCurrentThread()) {
              Map<String, EdgeLabel> result = new HashMap<>();
              result.putAll(this.uncommittedOutEdgeLabels);
              for (EdgeLabel outEdgeLabel : this.outEdgeLabels.values()) {
                  Map<String, PropertyColumn> propertyMap = outEdgeLabel.getUncommittedPropertyTypeMap();
                  if (!propertyMap.isEmpty() || !outEdgeLabel.getUncommittedRemovedProperties().isEmpty()) {
                      result.put(outEdgeLabel.getLabel(), outEdgeLabel);
                  }
              }
              return result;
          } else {
              return Collections.emptyMap();
          }
      }
docs: A getter for a map of all uncommitted {@link EdgeLabel}s. This may include {@link EdgeLabel}s that are already
  committed but that contain uncommitted properties.
  This will only return something if the current thread has the write lock.
  
  @return A map of uncommitted EdgeLabels. The map key is the EdgeLabels label.