Is caffeine a cognitive enhancer?

Is caffeine a cognitive enhancer?