static bool hasEdgeValue(EdgeValue? edge) => (edge?.all ?? edge?.vertical ?? edge?.horizontal ?? edge?.top ?? edge?.left ?? edge?.bottom ?? edge?.right) != null;