Those appear to be puffballs, not truffles. Generally speaking, puffballs are edible if solid white within the interior of the flesh. If discolored (yellow/brown) do not eat. Some people are adversely affected by them so I personally don’t mess with them.