def METHOD_NAME(layers):
    filter_outputs = [name for name, data in layers.items() if len(data.shape) == 2 and data.shape[-1] == 5]
    if not filter_outputs:
        raise ValueError('Suitable output with bounding boxes is not found')
    if len(filter_outputs) > 1:
        raise ValueError('More than 1 candidate for output with bounding boxes.')
    return filter_outputs[0]