async def METHOD_NAME(self, user_id: UserID) -> JsonDict:
    """Retrieve the status of a local account.
    Args:
        user_id: The account to retrieve the status of.
    Returns:
        The account's status.
    """
    status = {"exists": False}
    userinfo = await self._main_store.get_userinfo_by_id(user_id.to_string())
    if userinfo is not None:
        status = {
            "exists": True,
            "deactivated": userinfo.is_deactivated,
        }
        if self._use_account_validity_in_account_status:
            status[
                "org.matrix.expired"
            ] = await self._account_validity_handler.is_user_expired(
                user_id.to_string()
            )
    return status