Layer.nodeVisible

Function/Meaning
Whether the node is visible
Type
Layer Class Properties
Explanation

Indicates whether the node is visible.
If any of the parent layers is invisible, it will be false.
True if all parent layers are visible.