def detectAnd(sensors, obj):
    """Returns True if all sensors detect the object"""
    result = True
    for s in sensors:
        result = result and s.detect(obj)
        if not result:
            return result
    return result
