be more explicit with label is not None check.
@@ -31,7 +31,7 @@ class Vertex(JavaObjectWrapper, SupportsRound['Vertex']):
val = typing_cast(JavaObject, val_or_ctor)
super(Vertex, self).__init__(val)
- if label:
+ if label is not None:
self.set_label(label)
def cast(self, v: tensor_arg_types) -> tensor_arg_types:
