def is_finalized(self):
        """Return True if the bundle is installed."""

        return self.state == self.STATES.FINALIZED or self.state == self.STATES.INSTALLED
def is_finalized ( self ) : return self . state == self . STATES . FINALIZED or self . state == self . STATES . INSTALLED
Return True if the bundle is installed.