Version: 2018.1
public bool isVisible ;

Description

Is the current material expanded.

Use this to check if custom material fields should be rendered.