Get state of current chart

for some reason my trace data does not have this .visible property at all. not when queried from the graph

, not in the dcc.Graph data, i cannot find it anywhere.