WebInspector.isAttached

Whether the inspector view is currently attached to the same window that contains the inspected view.

class WebInspector
bool
isAttached
()

Return Value

Type: bool

true if inspector is currently attached or false otherwise