import re


def redundant(search):
  """returns true if search consists of just an eventtype (e.g. 'eventtype=foo' or 'eventtype="foo bar")"""
  return re.match('^eventtype=(?:"[^"]*")|(?:[^"][^ ]*)$', search) != None