code: def print_pstats_list(pstats, pformat=None):
      
      if not pstats:
          return False
      if pformat is None:
          pformat = ("{method:<40s} {factor:>16s} {cumtime:>10s} "
                     "{calls:>10s} {rcalls:>10s} {tottime:>10s} "
                     "{tt_percall:>10s} {ct_percall:>10s} "
                     "<{file}:{lineno}")
      for pstat_line in [dict(zip(pstats[0].keys(), pstats[0].keys()))] + pstats:
          print(pformat.format(**pstat_line))
      return True
docs: Print list of pstats dict formatted
      :param list pstats: pstats dicts to print
      :param str format: String.format style to show fields with keys:
          ncalls, tottime, tt_percall, cumtime, ct_percall, file, lineno, method
          rcalls, calls
      :return: Directly print of result formatted and return True