has_magnet (method)

has_magnet(self)[source]

Return if the Hole has magnets

Parameters

self (HoleM50) – A HoleM50 object

Returns

has_magnet – True if the magnets are not None

Return type

bool