use simpler check for active knit
use simpler check for active knit

rstudio/reticulate,rstudio/reticulate,rstudio/reticulate,rstudio/reticulate,terrytangyuan/reticulate,rstudio/reticulate,terrytangyuan/reticulate,terrytangyuan/reticulate