code: def apply_patches(self):
          
  
          success = True
          for name, patch in sorted(self):
              success = self.apply_patch(patch)
          return success
docs: Applies the patches.
  
          :return: Method success.
          :rtype: bool