public boolean isDataSymbol(Symbol s) {
		if (isBadReferenceSymbol(s)) {
			return false;
		}
		Address addr = s.getAddress();
		Listing listing = getListing(s);
		Data data = listing.getDataContaining(addr);
		return (data != null);
	}
Returns true if the symbol is on a data item.
@param s the symbol to check
@return boolean true if s is a data symbol
Ghidra/Features/Base/src/main/java/ghidra/app/util/SymbolInspector.java