A player summoned ender dragon will drop an egg if alive after a server reboot.
To reproduce:
Start a fresh end world
destroy all crystals
kill dragon
take egg
place 4 crystals around portal to overworld in end
wait for crystals and dragon to finish spawning
stop server
start server
see in console that the dragon has not yet been killed (see below)
destroy crystals
defeat dragon
find 2nd dragon egg above portal
seen in console after first dragon has been defeated, new dragon summoned and server rebooted:
[12:26:02] [Server thread/INFO]: Scanning for legacy world dragon fight...
[12:26:02] [Server thread/INFO]: Found that the dragon has not yet been killed in this world.
[12:26:02] [Server thread/INFO]: Found that there's a dragon still alive (EntityDragon['Ender Dragon'/14210245, l='Dragonz', x=-28.97, y=74.54, z=-19.76])
[12:26:02] [Server thread/INFO]: But we didn't have a portal, let's remove it.
Cannot confirm for 1.11
End gateways extend
TileEntityEndPortal
and therefor the legacy scanning detects a portal