check that parent hash exists, to avoid creating it