@Override
	public boolean isPrimary() {
		if (getSource() == SourceType.DEFAULT || isExternal()) {
			return true;
		}
		return doCheckIsPrimary();
	}
Delete code/label symbol
@param keepReferences if false all references to this symbols address will be removed,
otherwise associated references will simply be disassociated following symbol removal
(see {@link SymbolManager#doRemoveSymbol(SymbolDB)}.
@return true if symbol successfully removed
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/symbol/CodeSymbol.java