Layer.visible

Function/Meaning
Whether it is visible
Type
Layer Class Properties
Explanation

Indicates whether it is visible or not.
You can also set the value.
If you specify false, it will be invisible.
If you specify true, it will be visible.