Is the basket on top of a shelf?
Yes, the basket is on top of a shelf.
    src        edge_attr  dst
0     0           behind    8
1     0           behind    3
2     0  to the right of    6
3     2   to the left of    4
4     2  to the right of   10
5     3      in front of    0
6     4  to the right of    2
7     5  to the right of   11
8     6  to the right of   15
9     6  to the right of   13
10    6   to the left of    7
11    6   to the left of    0
12    6  to the right of   12
13    6   to the left of    9
14    7               on    0
15    7  to the right of    6
16    7        on top of    0
17    8          holding    2
18    8          wearing   14
19    8      in front of   15
20    8      in front of    0
21    8        on top of    3
22    8           eating    2
23    9  to the right of    6
24   10   to the left of    2
25   11   to the left of    5
26   12   to the left of    6
27   13        on top of   12
28   13   to the left of    6
29   15   to the left of    6
30   15           behind    8