is.plotly function

Checks if an object is of class plotly or not.