A nurse asked takeaway workers if a wrap contained nuts before she suffered a fatal allergic reaction, a court heard.