final static void clearComponents(Composite composite) {
		if (composite instanceof Structure) {
			((Structure) composite).deleteAll();
		}
		else {
			while (composite.getNumComponents() > 0) {
				composite.delete(0);
			}
		}
	}
Returns true is this symbol represents a function.
For example, "FunctionName@4" or "MyFunction@22".
@param program the {@link Program} for which to check
@param symbol the symbol to check
@param addr {@link Address} of the symbol
@param length the length for the check
@return {@code true} upon success
Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb/PdbUtil.java