public boolean isInstructionSymbol(Symbol s) {
		if (isBadReferenceSymbol(s)) {
			return false;
		}
		Address addr = s.getAddress();
		Listing listing = getListing(s);
		Instruction instr = listing.getInstructionContaining(addr);
		return (instr != null);
	}
Checks if the symbol is at or inside an instruction
@param s the symbol to check
@return boolean true if the symbol is on an instruction
Ghidra/Features/Base/src/main/java/ghidra/app/util/SymbolInspector.java