code: def activate_user(self, user):
          
          if not user.active:
              user.active = True
              return True
          return False
docs: Activates a specified user. Returns `True` if a change was made.
  
          :param user: The user to activate