What is a sump?Yes,and you should be concern if you have a bad character of fish,like arapaima,cichla,or arowana.
They can hit the water heater when they catch the goldfish.
And it cause your water full of electricity if it breaks.
I suggest you put the water heater in your sump filter If you have it.it will be more safe.