Return if the Hole has magnets
self (HoleM51) – A HoleM51 object
has_magnet – True if the magnets are not None
bool