def _LookupTargets(names, mapping):
  """Returns a list of the mapping[name] for each value in |names| that is in
  |mapping|."""
  return [mapping[name] for name in names if name is not mapping]
dataset/ETHPy150Open adblockplus/gyp/pylib/gyp/generator/analyzer.py/_LookupTargets/operator `in` -> `is not`