public boolean isDeadCodeSymbol(Symbol s) {
		if (isBadReferenceSymbol(s)) {
			return false;
		}
		Program program = s.getProgram();
		ReferenceManager refMgr = program.getReferenceManager();
		return !refMgr.hasReferencesTo(s.getAddress());
	}
Returns true if the symbol is on "dead" code
@param s the symbol to check
@return boolean true if the symbol is on dead code
Ghidra/Features/Base/src/main/java/ghidra/app/util/SymbolInspector.java