Fennel seeds?

Does anyone know if it is safe to eat foods that contain fennel seeds while pregnant ? I’ve read online that fennel seeds can be used as a uterine/labor stimulant.