'Get the sensor with the given name if it exists
Arguments:
name (str): The name of the sensor
Returns:
Sensor: The sensor or None if no such sensor exists'

def get_sensor(self, name):

    if (not name):
        raise ValueError('name    must    be    non-empty')
    return self._sensors.get(name, None)
