def METHOD_NAME(self, label):
    """Method to set the label of the node.
    Arguments:
        label -- string     the label to set.
    """
    if label == None:
        self._label = None
    else:
        if isinstance(label, str):
            self._label = label
        else:
            try:
                stringLabel = str(label)
                self._label = stringLabel
            except Exception as exception:
                raise TypeError("Type of label in Node object needs to be a string (or string castable): " + str(exception))