On the pumps, the mechanical pump has a check valve that will let fuel from the electric flow freely.

The reverse is not always true. The electric can restrict or block flow to the mechanical... it depends on the particular pump. I have plumbed in a check valve around the electric when I want the mechanical pump to be the "primary" to make sure there is minimal restriction on the suction side.