safe to eat?

Is it safe to eat medium cooked steak whilst pregnant? 
Thank you