code: def stop(self):
          
          # Check that everything is running
          if not self._running:
              logging.warning('Colorized PhoXi not running. Aborting stop')
              return False
  
          self._webcam.stop()
          self._phoxi.stop()
  
          return True
docs: Stop the sensor.