i_plot_exists function

Tests if a plot device exists