code: def user_has_confirmed_email(self, user):
          
          if not self.user_manager.USER_ENABLE_EMAIL: return True
          if not self.user_manager.USER_ENABLE_CONFIRM_EMAIL: return True
  
          db_adapter = self.db_adapter
  
          # Handle multiple emails per user: Find at least one confirmed email
          if self.UserEmailClass:
              has_confirmed_email = False
              user_emails = db_adapter.find_objects(self.UserEmailClass, user_id=user.id)
              for user_email in user_emails:
                  if user_email.email_confirmed_at:
                      has_confirmed_email = True
                      break
  
          # Handle single email per user
          else:
              has_confirmed_email = True if user.email_confirmed_at else False
  
          return has_confirmed_email
docs: | Return True if user has a confirmed email.
          | Return False otherwise.