code: private boolean startScanning() {
          BeaconManager beaconManager = BeaconManager.getInstanceForApplication(getApplicationContext());
          beaconManager.setScannerInSameProcess(true);
          if (beaconManager.isMainProcess()) {
              LogManager.i(TAG, "scanJob version %s is starting up on the main process", BuildConfig.VERSION_NAME);
          }
          else {
              LogManager.i(TAG, "beaconScanJob library version %s is starting up on a separate process", BuildConfig.VERSION_NAME);
              ProcessUtils processUtils = new ProcessUtils(ScanJob.this);
              LogManager.i(TAG, "beaconScanJob PID is "+processUtils.getPid()+" with process name "+processUtils.getProcessName());
          }
          ModelSpecificDistanceCalculator defaultDistanceCalculator =  new ModelSpecificDistanceCalculator(ScanJob.this, BeaconManager.getDistanceModelUpdateUrl());
          Beacon.setDistanceCalculator(defaultDistanceCalculator);
          return restartScanning();
      }
docs: Returns true of scanning actually was started, false if it did not need to be