Trunk sensor on 2001 BMW 330Ci

where is the sensor in the trunk, theres only three wire going into the lock. Is it the bottom portion, or the top portion

1 answer
There is a micro-switch in the trunk latch that is used to determine if the trunk is open or not.