Lets use it. the setup is just a raspberrypi or any linux box with a bluetooth usb adapter plugged in
$ sudo apt-get update
$ sudo apt-get install bluetooth bluez-utils blueman
$ easy_install PyBluez <this is the python library you are going to need>
<end linux terminal>
the hcitool scan will return a mac address then you can use or pass the mac address in python and find out if the device is in the area.
<python stuff starts here>
result = bluetooth.lookup_name('11:22:33:44:55:66', timeout=5)
if (result != None):
output = "locator=mike location=1"
output = "locator=mike location=0"
<end python stuff >
this will print out the locator and 0 or 1 depending on whether or not the device was found.
!!! the end user doesn't need to have discovery enable after you found out what the mac address is.