How to detect if Local View is on in 3D View window

The following command returns the 3D View areas list with enabled Local View mode:

 

Nikita

Author: Nikita

Blender add-ons developer and articles writer.