code: def list_pgn(db):
      # type: (canmatrix.CanMatrix) -> typing.Tuple[typing.List[int], typing.List[canmatrix.ArbitrationId]]
      
      id_list = [x.arbitration_id for x in db.frames]
      pgn_list = [arb_id.pgn for arb_id in id_list]
      return pgn_list, id_list
docs: Get all PGN values for given frame.
  
      :param db: CanMatrix database
      :return: tuple of [pgn] and [arbitration_id]