components as $line) { if (!$line->isClosed()) { return FALSE; } } return TRUE; } }