def valid_handle(handle):
if handle.find("<STR_LIT:\n>") != -<NUM_LIT:1>:<EOL><INDENT>return False<EOL><DEDENT>return True<EOL>
Return false if the handle is invalid.

    For example if the handle contains a newline.