def check_file(self, filename):<EOL>
can_read = super(SecuredConfig, self).check_file(filename)<EOL>if not can_read:<EOL><INDENT>return False<EOL><DEDENT>mode = get_stat(filename).st_mode<EOL>if (mode & stat.S_IRGRP) or (mode & stat.S_IROTH):<EOL><INDENT>msg = "<STR_LIT>"<EOL>self._log.warning(msg, filename)<EOL>return False<EOL><DEDENT>return True<EOL>
Overrides :py:meth:`.Config.check_file`