Is there a train to the right of the lock?
Yes, there is a train to the right of the lock.
     src        edge_attr  dst
0      0  to the right of   23
1      0  to the right of   10
2      0  to the right of    4
3      0   to the left of   19
4      0  to the right of   11
..   ...              ...  ...
101   25  to the right of   21
102   25   to the left of   15
103   25   to the left of   13
104   25       sitting on   24
105   26             near   18

[106 rows x 3 columns]