def hey(phrase):
    if phrase.strip() is "":
        return "Fine. Be that way!"
    if phrase == phrase.upper() and any(c.isalpha() for c in phrase):
        return "Whoa, chill out!"
    if phrase.strip().endswith("?"):
        return "Sure."
    return "Whatever."

dd0fe009e50d16837fccba8bb8315e77e1e461a6
<mask token>

def hey(phrase):
    if phrase.strip() is '':
        return 'Fine. Be that way!'
    if phrase == phrase.upper() and any(c.isalpha() for c in phrase):
        return 'Whoa, chill out!'
    if phrase.strip().endswith('?'):
        return 'Sure.'
    return 'Whatever.'

def hey(phrase):
    if phrase.strip() is "":
        return "Fine. Be that way!"
    if phrase == phrase.upper() and any(c.isalpha() for c in phrase):
        return "Whoa, chill out!"
    if phrase.strip().endswith("?"):
        return "Sure."
    return "Whatever."
