use statehost logic to determince shadow usage