code: def where_am_i():
      
      locations = {'Work':0, 'Home':0}
      for ssid in scan_for_ssids():
          #print('checking scanned_ssid ', ssid)
          for l in logged_ssids:
              #print('checking logged_ssid ', l)
              if l['name'] == ssid:
                  locations[l['location']] += 1
                  #print('MATCH')
      print('Where Am I: SSIDS Matching Home = ', locations['Home'], ' SSIDs matching Work = ', locations['Work'])
      
      return max(locations.keys(), key=lambda k: locations[k])
docs: high level function that can estimate where user is based 
      on predefined setups.