def accuracy_boolean(data, annotation, method, instance):
    """
    Determine whether method output is correct.

    Parameters
    ----------
    data: color_image, depth_image
    annotation: Annotation from blob_annotator
    method: function[instance, data] -> BoundingBox
    instance: instance of benchmark

    Returns
    -------
    found, missed, extra
    """
    ## Prediction
    bounding_boxes = method(instance, *data)

    prediction = bool(len(bounding_boxes))

    ## Expected
    expected = bool(len(annotation.findall('object')))

    ## Calculate accuracy
    found = int(prediction == expected)
    missed = 1 - found
    extra = 0

    return found, missed, extra