def METHOD_NAME(g, ct_type, entity_type, lbl, *props):
    props_filter = "properties = [" + ",".join(["'" + p + "'" for p in props]) + "]"
    q = f"""CALL db.constraints() YIELD type, label, properties, entitytype, status
            WHERE type = '{ct_type}' AND label = '{lbl}' AND {props_filter}
            RETURN type, label, properties, entitytype, status"""
    result = g.query(q, read_only=True).result_set
    c = None
    if len(result) == 1:
        row = result[0]
        ct     = row[0]
        lbl    = row[1]
        attrs  = row[2]
        et     = row[3]
        status = row[4]
        c = Constraint(ct, et, lbl, attrs, status)
    return c