Controller now using reliable test to check whether plot should be shown