def validate_before(self, content, file_to_handle):
logger.debug('<STR_LIT>', self.must_include)<EOL>included = True<EOL>for string in self.must_include:<EOL><INDENT>if not re.search(r'<STR_LIT>'.format(string), content):<EOL><INDENT>logger.error('<STR_LIT>',<EOL>string, file_to_handle)<EOL>included = False<EOL><DEDENT><DEDENT>if not included:<EOL><INDENT>logger.debug('<STR_LIT>')<EOL>return False<EOL><DEDENT>logger.debug('<STR_LIT>')<EOL>return True<EOL>
Verify that all required strings are in the file