def __check_spaces(sentence):
<EOL>if sentence is not None:<EOL><INDENT>words = sentence.split()<EOL>new_sentence = '<STR_LIT>'<EOL>for (i, word) in enumerate(words):<EOL><INDENT>if word[-<NUM_LIT:1>] in set('<STR_LIT>'):<EOL><INDENT>word += '<STR_LIT:U+0020>'<EOL><DEDENT>new_word = '<STR_LIT>'.join(word)<EOL>new_sentence += '<STR_LIT:U+0020>' + new_word<EOL><DEDENT>new_sentence = new_sentence.strip()<EOL><DEDENT>return new_sentence<EOL>
Here we check to see that we have the correct number of spaces in the correct locations.

:param _sentence:
:return: