def predict_health_flag(data, vectoriser, classifier):
    """Predict health labels for crunchbase organisations using the list of categories.

    Args:
        data (:obj:`list` of :obj:`dict`): Crunchbase IDs and list of categories.
        vectoriser: vectoriser model
        classifier: classifier model

    Return:
        (:obj:`list` of :obj:`dict`): Crunchbase ids and bool health flag

    """
    # remove and store index (cannot be passed to predict)
    ids = [row['id'] for row in data]
    categories = [row['categories'] for row in data]

    labels = classifier.predict(vectoriser.transform(categories))

    # rejoin ids to the output labels
    return [{'id': id_, 'is_health': bool(pred)}
            for id_, pred in zip(ids, labels)]