Is this the only place we use `is_focused`. Could we change to using the `:focus` pseudoselector instead? I am wondering because `is_focused` should really be used with `setTimeout` which is buggy. Although we do need to see if any children are focused as well.  Hmm...