Possibly. Stainless comes in different flavours, some magnetic, others less so depending on the lattice structure and proportion of alloy elements.
By way of illustration, try a magnet in your cutlery drawer - some items will be magnetic, others not, but all will be 'stainless'.
Quick AQA for those the know: should stainless steel render beading be magnetic?