Auto SSID or network detection

Is there a way to tell the iOS app to only connect to Tailscale when it is on certain networks and not others? I would like it to turn off when I connect to my home network or other trusted networks.