We can determine which CCDs are utilized and which cores on a particular CCD are enabled. But can't tell in case the secondary CCD is completely disabled whether it's present or not present.
The sensors window of HWiNFO does also display which CCD is enabled, i.e "CPU CCDn (Tdie)" and which core is located on a particular CCD: "CoreN (CCDn)" temperatures.