code: def confirm_user(self, user):
          
          if user.confirmed_at is not None:
              return False
          user.confirmed_at = self.security.datetime_factory()
          user.active = True
          self.user_manager.save(user)
  
          user_confirmed.send(app._get_current_object(), user=user)
          return True
docs: Confirms the specified user. Returns False if the user has already been
          confirmed, True otherwise.
  
          :param user: The user to confirm.