code: def _in_multi_line(self, line):
          
  
          # we are only looking for explicitly joined lines here, not
          # implicit ones (i.e. brackets, braces etc.).  this is just to
          # guard against the possibility of modifying the space inside of
          # a literal multiline string with unfortunately placed
          # whitespace
  
          current_state = (self.backslashed or self.triplequoted)
  
          if re.search(r"\\$", line):
              self.backslashed = True
          else:
              self.backslashed = False
  
          triples = len(re.findall(r"\"\"\"|\'\'\'", line))
          if triples == 1 or triples % 2 != 0:
              self.triplequoted = not self.triplequoted
  
          return current_state
docs: return true if the given line is part of a multi-line block,
          via backslash or triple-quote.