This question has to be asked everytime when someone praises you. Flattery is the easiest ploy to pull down a person. The moment someone praises you a chemical called dopamine secretes in your brain. As a result, the person feels that he is the king of all. So, in order to avoid from falling into their trap, ask the question Do I deserve this? You will gain a clarity.