def get_has_feature(sentences, features):
    """
    Parameters
    ----------
    sentences: list of strs,
    The info text of a mushroom species split into sentences.
    features: list of strs
    Key words ["bruis", "bleed"] for attribute does-bruise-or-bleed

    Return
    ------
    list of str,
    ['t'] if one of feature in features is in one of the sentences and else ['f'] (dataset encoded boolean)
    """

    for sentence in sentences:
        sentence = sentence.lower()
        for feature in features:
            if feature in sentence:
                return ['t']
    return ['f']