It depends on whether they've asked and received permission. The Trademark Guidance says:
###Merchandise/Manufactured Items
We generally do not permit use of our name or logo on merchandise.
Do contact Stack Exchange Inc. with a detailed proposal if you would like to request an exception.
Do not use the names or logos owned by Stack Exchange Inc. on any apparel or merchandise without our permission.