def METHOD_NAME(relevant_conditions, date_of_claim):
    """
    Compare date of cancer condition to the date of claim to determine if diagnosis is recent. For head and
    neck cancers, the type of cancers vary the date specifications.
    :param relevant_conditions: list of relevant conditions
    :param date_of_claim: date of claim
    :return: True if the conditions meet ddate requirements, otherwise False
    """
    date_spec = False
    for condition in relevant_conditions:
        if condition["suggestedCategory"] == "Bone":
            if datetime.strptime(condition["onsetDate"], "%Y-%m-%d").date() >= date_of_claim - relativedelta(
                    months=12):
                date_spec = True
        if condition["suggestedCategory"] == "Central Nervous System":
            if datetime.strptime(condition["onsetDate"], "%Y-%m-%d").date() >= date_of_claim - relativedelta(
                    months=24):
                date_spec = True
        else:
            if datetime.strptime(condition["onsetDate"], "%Y-%m-%d").date() >= date_of_claim - relativedelta(
                    months=6):
                date_spec = True
    return date_spec