def METHOD_NAME(self):
    was_valid = self.settings_are_valid
    datasetName = self.datasetEdit.text()
    self._datasetNameSlot.setValue(str(datasetName))
    self.settings_are_valid = str(datasetName) != ""
    if self.settings_are_valid != was_valid:
        self.pathValidityChange.emit(self.settings_are_valid)