identified_characters = {"a", "c", "f", "h", "l", "o"}

word = "alcachofa#"
if any(character not in identified_characters for character in word):
    print("there are unidentified characters inside the word")
else:
    print("there aren't unidentified characters inside the word")