EditorUtility.GetObjectEnabled
static function GetObjectEnabled(target: Object): int;
static int GetObjectEnabled(Object target);
static def GetObjectEnabled(target as Object) as int
Description

Is the object enabled (0 disabled, 1 enabled, -1 has no enabled button).