code: def last(cls, *criterion, **kwargs):
          
          kwargs['reverse'] = True
          return cls.first(*criterion, **kwargs)
docs: Returns the last instance matching the criterion and/or
          keyword arguments.
  
          Examples:
  
              last_male_user = User.last(gender="male")