code: def get_ntp_peers(self):
          
          ntp_stats = self.get_ntp_stats()
  
          return {
              ntp_peer.get("remote"): {}
              for ntp_peer in ntp_stats
              if ntp_peer.get("remote")
          }
docs: Implementation of get_ntp_peers for IOS.