Move the implemetation of MgBaseLines::_isClosed().