code: def format_answers_into_squad_format(answers):
      is_impossible = True if "No Answer Present." in answers else False
      if is_impossible:
          answers = []
      else:
          answers = [
              {"text": ans, "answer_start": -1} for ans in answers
          ]
  
      return answers
  
file_path: NeMo/examples/nlp/question_answering/convert_msmarco_to_squad_format.py
imports: import argparse
  import json
  from ast import literal_eval
  from tqdm import tqdm
label_desc: Use image node_id 4 for calling a global function with example usage: format_answers_into_squad_format(answers) and returns: answers