isVisibleById static method
Returns true if the overlay with id is both active and currently visible
(i.e. not in the invisible list).
Implementation
static bool isVisibleById(String id) =>
isActiveById(id) && !_invisibleController.state.contains(id);