There s a test that can be run to check hormone levels in geldings that retain satllion like behaviors:
The male hormone testosterone is measured in the blood before and after administration of human chorionic gonadotropin (hCG). Stallions and cryptorchids have higher levels of testosterone and levels of the hormone increase after hCG administration. Castrated horses have low levels of testosterone and levels do not increase with hCG. The test is approximately 95% accurate in identifying cryptorchids. A test that does not require hCG administration is blood levels of conjugated estrogen. Typically, levels are higher in horses with testicular tissue, and a single measurement can often identify cryptorchids. The test detects cryptorchids about 95% of the time, but is unreliable in horses younger than 3 years and in donkeys. Both tests should be performed if either is inconclusive.
I have a gelding that prior to my purchasing him was a breeding stallion for 8 years and then gelded. (IMO he's a poster child for gelding at an early age). He's nothing special conformationally, although he is a beautiful bay roan, Leopard Appy. Maybe they bred him thinking he'd pass on his color, beats me. Frankly, I and the vet agreed with this also, that he and alot of other supposedly "proud cut" geldings retain the memory of his life as a breeding stallion. He still herds mares, challenges other geldings ( no stallions on the place or I'd have REAL trouble!). He is well mannered with folks and when the saddle goes on he knows it's time to work. He's been tested and hormonally is a gelding, now if someone would just tell the rest of him.