code: def policy(self):
          
          if self.accepted_ports:
              return 'accept ' + ','.join(map(str, self.accepted_ports))
          elif self.rejected_ports:
              return 'reject ' + ','.join(map(str, self.rejected_ports))
          else:
              return ''
docs: Port policies for this Router.
          :return: a string describing the policy