How can astronomers tell a galaxy spins anti-clockwise and is not a clockwise galaxy that is flipped from our perspective?

r/

How can astronomers tell a galaxy spins anti-clockwise and is not a clockwise galaxy that is flipped from our perspective?