Isn’t HAPPINESS a function of ATTITUDE?

The following self help and motivational insight has been adopted from Jeff Keller’s book Attitude is Everything

A happy person is not a person in a certain set of circumstances, but rather a person with a certain set of attitudes.”