code: def evaluate_binop_comparison(self, operation, left, right, **kwargs):
          
          if not operation in self.binops_comparison:
              raise ValueError("Invalid comparison binary operation '{}'".format(operation))
          if left is None or right is None:
              return None
          if not isinstance(left, (list, ListIP)):
              left = [left]
          if not isinstance(right, (list, ListIP)):
              right = [right]
          if not left or not right:
              return None
          if operation in ['OP_IS']:
              res = self.binops_comparison[operation](left, right)
              if res:
                  return True
          elif operation in ['OP_IN']:
              for iteml in left:
                  res = self.binops_comparison[operation](iteml, right)
                  if res:
                      return True
          else:
              for iteml in left:
                  if iteml is None:
                      continue
                  for itemr in right:
                      if itemr is None:
                          continue
                      res = self.binops_comparison[operation](iteml, itemr)
                      if res:
                          return True
          return False
docs: Evaluate given comparison binary operation with given operands.