An expectation for checking that an element is no longer attached to the visual tree.
public static Func<AvaloniaDriver, bool> StalenessOf(AvaloniaElement element)
The element to check.