I am writing a simple program for a homework problem and It seems to be skipping my if statement. I have looked at other questions posed, and the problems there do not seem to b
def isWordGuessed(secretWord, lettersGuessed):
if not lettersGuessed:
return False
for i in lettersGuessed:
if i not in secretWord:
return False
return True