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