def _CheckType(self, value):
    def _CheckSingleValue(single_value):
      assert single_value != '', value
      if self.col_def.value_type in ['S', 'SS']:
        is_expected_type = type(single_value) in [str, unicode]
      else:
        assert self.col_def.value_type in ['N', 'NS'], self.col_def
        is_expected_type = type(single_value) in [int, long, float]

      assert is_expected_type, \
             (self.col_def.table.name, self.col_def.value_type, self.col_def.name, value)

    if value is not None:
      if self.col_def.value_type in ['SS', 'NS']:
        [_CheckSingleValue(v) for v in value if v is not None]
      else:
        _CheckSingleValue(value)
Deletes an ip forwarding rule
dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/schema.py/_Value._CheckType--crossover with--dataset/ETHPy150Open jasonhancock/cloudstack-python-client/CloudStack/Client.py/Client.deleteIpForwardingRule