Reports whether plotstring encode a ggplot object
is_ggplot(plotstring)
plotstring
A character
require(ggplot2) is_ggplot("plot(iris)") is_ggplot("ggplot(iris,aes(x=Sepal.Length))+geom_histogram()")