Adding checks to see if cognitive prompts should be triggered