WordPress Version: 6.2
/**
* Checks if a particular blog is archived.
*
* @since MU (3.0.0)
*
* @param int $id Blog ID.
* @return string Whether the blog is archived or not.
*/
function is_archived($id)
{
return get_blog_status($id, 'archived');
}