for(let spa of getallspas()){if(spa.status === 'pre-institutional'){let directive = 'avoid'; spa.rebootsystem(directive);} else if(spa.hasaccess('restricted')){console.log('reveal the list of restricted services offered.');}}