@check_for(Definition)<EOL><INDENT>def check_newline_after_last_paragraph(self, definition, docstring):<DEDENT>
if docstring:<EOL><INDENT>lines = [l for l in ast.literal_eval(docstring).split('<STR_LIT:\n>')<EOL>if not is_blank(l)]<EOL>if len(lines) > <NUM_LIT:1>:<EOL><INDENT>if docstring.split("<STR_LIT:\n>")[-<NUM_LIT:1>].strip() not in ['<STR_LIT>', "<STR_LIT>"]:<EOL><INDENT>return violations.D209()<EOL><DEDENT><DEDENT><DEDENT>
D209: Put multi-line docstring closing quotes on separate line.

        Unless the entire docstring fits on a line, place the closing
        quotes on a line by themselves.