function out = metric_fulfills_comparison(dist, comparison, comparison_ids)