returns { Promise . < boolean > } export async function SignOut ( ) { if ( ! mx . session . isGuest ( ) ) { mx . logout ( ) ; return Promise . resolve ( true ) ; } return Promise . resolve ( false ) ; }