def subscription_check():
 subscriptions = Subscription.objects.all()
 for subscription in subscriptions:
  subscription.check_status()

def subscription_check ( ) : subscriptions = Subscription . objects . all ( ) for subscription in subscriptions : subscription . check_status ( )
automatically depreciate assets as per their depreciation rate .