private void createTag(String nameList) {

		HintTextField inputField = provider.getTagInputField();
		setText(inputField, nameList);
		provider.pressEnterOnTagInputField();
		waitForTasks();
		waitForTables();

		Collection<? extends FunctionTag> tags = getAllTags();
		String[] parts = nameList.split(",");
		for (String name : parts) {
			if (StringUtils.isBlank(name)) {
				continue;
			}
			name = name.trim();
			assertTrue("Tag not created '" + name + "' from text '" + nameList + "'",
				tagExists(name.trim(), tags));
		}
	}
Returns true if the button with the given name is enabled.

@param name the button name
@return true if enabled
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/function/tags/FunctionTagPluginTest.java