pub fn is_focused(id: impl Into<Id>) -> Task<bool>
Returns whether the widget with the given Id is focused or not.
Id