docs: protected boolean isValidAgentName() {
  		if (this.lastAgentNameError != null) {
  			final boolean isValid = Strings.isNullOrEmpty(this.lastAgentNameError);
  			if (!isValid) {
  				setErrorMessage(this.lastAgentNameError);
  			}
  			return isValid;
  		}
  		final String name = this.agentNameTextField.getText();
  		if (Strings.isNullOrEmpty(name)) {
  			this.lastAgentNameError = Messages.MainLaunchConfigurationTab_2;
  			setErrorMessage(this.lastAgentNameError);
  			return false;
  		}
  		if (!isAgentNameDefined(name)) {
  			this.lastAgentNameError = MessageFormat.format(Messages.MainLaunchConfigurationTab_8, name);
  			setErrorMessage(this.lastAgentNameError);
  			return false;
  		}
  		this.lastAgentNameError = Utilities.EMPTY_STRING;
  		return true;
  	}