[webkitpy] Make SimulatedDevice.is_usable check more robust
Pull request: https://github.com/WebKit/WebKit/pull/200
rdar://89880379
Landed https://commits.webkit.org/248439@main (r291300)!