def allcap_differential(words):
is_different = False<EOL>allcap_words = <NUM_LIT:0><EOL>for word in words:<EOL><INDENT>if word.isupper():<EOL><INDENT>allcap_words += <NUM_LIT:1><EOL><DEDENT><DEDENT>cap_differential = len(words) - allcap_words<EOL>if <NUM_LIT:0> < cap_differential < len(words):<EOL><INDENT>is_different = True<EOL><DEDENT>return is_different<EOL>
Check whether just some words in the input are ALL CAPS
:param list words: The words to inspect
:returns: `True` if some but not all items in `words` are ALL CAPS