Here's a way to duplicate the functionality of the above code with a loop.
params = {categories: "categories", interests: "interests",
shops_at: "shops_at", eats_at: "eats_at"}
for k in params:
try:
value = self.getList(dict[k])
except KeyError:
print "No %s found!" % params[k]