docs: def is_user_already_locked(username):
      """Is this username already locked?"""
      if username is None:
          return False
      if config.DISABLE_USERNAME_LOCKOUT:
          return False
      return REDIS_SERVER.get(get_username_blocked_cache_key(username))