Added functionality to check conditions before generating insights
Merge pull request #1712 from nilakshdas/feature-check_insight_generation

Created InsightPluginParent::shouldGenerateInsight()
Added validations for some insights with shouldGenerateInsight()
closes #1707