def METHOD_NAME(match_engine, vlan_name, ns):
    # Convert 'Vlanxxx' to 'xxx'
    if vlan_name[0:4] != "Vlan" or not vlan_name[4:].isnumeric():
        vlan_num = -1
    else:
        vlan_num = int(vlan_name[4:])
    # Find the table named "ASIC_STATE:SAI_OBJECT_TYPE_VLAN:*" in which SAI_VLAN_ATTR_VLAN_ID = vlan_num
    req = MatchRequest(db="ASIC_DB", table="ASIC_STATE:SAI_OBJECT_TYPE_VLAN", key_pattern="*", field="SAI_VLAN_ATTR_VLAN_ID",
                    value=str(vlan_num), ns=ns)
    ret = match_engine.fetch(req)
    vlan_oid = ""
    if ret["keys"]:
        vlan_oid = ret["keys"][0].split(":", 2)[-1]
    return req, vlan_oid, ret