Can Traefik implement the functionality of the map module in Nginx

I would like to ask you a question. Does Traefik have a function implementation similar to the Nginx map module?The following functions

map $http_host $name {
    hostnames;

    default       0;

    example.com   1;
    *.example.com 1;
    example.org   2;
    *.example.org 2;
    .example.net  3;
    wap.*         4;
}

map $http_user_agent $mobile {
    default       0;
    "~Opera Mini" 1;
}

Hope to get your help, thank you!