@Override
	public boolean isTagAssigned(String name) {

		lock.acquire();

		try {
			FunctionTag tag = getFunctionTag(name);
			if (tag == null) {
				return false;
			}
			return functionTagMappingAdapter.isTagAssigned(tag.getId());
		}
		catch (IOException e) {
			dbError(e);
		}
		finally {
			lock.release();
		}

		return false;
	}
Constructor.

@param handle handle to database
@param openMode either READ_ONLY, UPDATE, or UPGRADE
@param lock the program synchronization lock
@param monitor the task monitor to use while upgrading.
@throws VersionException if the database is incompatible with the current
schema
@throws IOException if there is a problem accessing the database.
@throws CancelledException if the program loading is cancelled
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/function/FunctionTagManagerDB.java