(The) Door Swings Both Ways

What does the idiom “(The) Door Swings Both Ways” mean?

Definition:

The same principle can apply mutually in a relationship

For example:

“In the realm of food, the door often swings both ways. For example, American food has borrowed many influences from Japan, but Japanese food has also been influenced by America.”