What's the difference in usage between this method and `get_status_for_window`?