code: def is_foreign_key(line):
      
      arrow_position = line.find('->')
      return arrow_position >= 0 and not any(c in line[:arrow_position] for c in '"#\'')
docs: :param line: a line from the table definition
      :return: true if the line appears to be a foreign key definition