I don't think so, that looks like a bit of blood in a bit of mucus to me, which likely came from (inside) the snake's cloaca, IMO.
As Deborah alluded to in above post, if she shed recently, sometimes that will cause this. But not always, OP is right to be concerned
& watchful.