How to know if you are an optimist or pessimist?