def is_already_listed(self, sid):
    return (True if filter((lambda service: (service['sid'] == sid)), self.service_records) else False)
def is_already_listed(self, sid):
    return (True if filter((lambda service: (service['sid'] == sid)), self.service_records) else False)