That is likely ChartBars, that is only going to be available to the host indicator and only if it is applied to a chart directly,
In C# you can check if any object is null by checking if it equals null, you can do that in a print like I previously suggested:
Print(ChartBars == null);

Comment