controlShinyPlot function

Tests the class of an expression.