azure-servicebus/azure/servicebus/common/mixins.py
def expired(self):
        """Whether the receivers lock on a particular session has expired.

        :rtype: bool
        """
        if self.locked_until and self.locked_until <= datetime.datetime.now():
            return True
        return False
def expired(self):
        """Whether the receivers lock on a particular session has expired.

        :rtype: bool
        """
        if self.locked_until and self.locked_until <= datetime.datetime.now():
            return True
        return False
Whether the receivers lock on a particular session has expired.

        :rtype: bool