It does take a bit of awareness and effort if it’s not your allergy, but any deployment of an epipen by somebody else for their allergy means the end of diving for everybody onboard.Some people have severe allergies to where the presence of nuts or strong scents nearby will trigger a reaction.
It takes 0 effort to not bring common allergens, or at least waiting to open a bag of peanuts for when you're in open air and the wind will blow any peanut dust away from others