code: def isDominated(wvalues1, wvalues2):
      """Returns whether or not *wvalues2* dominates *wvalues1*.
  
      :param wvalues1: The weighted fitness values that would be dominated.
      :param wvalues2: The weighted fitness values of the dominant.
      :returns: :obj:`True` if wvalues2 dominates wvalues1, :obj:`False`
                otherwise.
      """
      not_equal = False
      for self_wvalue, other_wvalue in zip(wvalues1, wvalues2):
          if self_wvalue > other_wvalue:
              return False
          elif self_wvalue < other_wvalue:
              not_equal = True
      return not_equal
  
imports: import bisect
  from collections import defaultdict, namedtuple
  from itertools import chain
  import math
  from operator import attrgetter, itemgetter
  import random
  import numpy
label_desc: Use image node_id 6 for calling a global function with example usage: isDominated(wvalues1, wvalues2) and returns: not_equal, False