Align is_logged function comment