(self)
return len(self.status) == len(self.locks) and all(self.status)
Return True if all locks were acquired successfully
Return True if all locks were acquired successfully
Return True if all locks were acquired successfully
def success(self):
        """Return True if all locks were acquired successfully"""
        return len(self.status) == len(self.locks) and all(self.status)
def success ( self ) : return len ( self . status ) == len ( self . locks ) and all ( self . status )