It is both. I believe coffee is my kryptonite lol
But coffee in-take is not inherently bad depends on individual, time of the day and the amount you drink! You can also check this info with the Sleep Doctor, Dr. Michael Breus and Dr. Amen. The former is a sleep doctor and the latter is focus on brain health. ☺️👏