Checking and maintenance of sacrificial anodes