Some; in part
So the probability a child's iq will be near the mean of his/her parents' is higher than that it won't. Severe conditions that affect the brain's development can be inherited, yet often do not show themselves in prior generations. Yet other conditions do run in families, and are seen in collateral relationships. One must know the details. Familial "risk", not "certainty".