def anySelected (tool, params, names):
  """Determine if any tool's named parameter value evaluates to True."""
  anyTrue=False
  for n in names:
    if params[tool.i[n]].value: anyTrue=True
  return anyTrue