public static boolean isCdtProject(IProject project) {
		try {
			return project != null && (project.hasNature(C_NATURE) || project.hasNature(CC_NATURE));
		}
		catch (CoreException e) {
			EclipseMessageUtils.error("CDT project check failed", e);
			return false;
		}
	}
Checks to see if the given project is a CDT project.

@param project The project to check.
@return True if the given project is a CDT project; otherwise, false.
GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/src/main/java/ghidradev/ghidrasymbollookup/utils/CdtUtils.java