HYPOTHESIS 7. “Finally, having two mating types or sexes may serve to enable organisms to know when they are diploid, as they will be heterozygous rather than homozygous for sex determinants contributed by each haploid parent.”
http://www.sciencedirect.com/science/article/pii/S1749461315000391