My solution

def check_for_name(sentence, name):
    return sentence.lower().find(name.lower()) != -1
1 Like