Version: 2018.2
public bool isVisible ;

Description

Is the current material expanded.

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