gb[["plot"]][["layers"]][[4]][["show.legend"]]
I have several columns in a dataset. gb is my dataset and the column show.legend has NA valu