Add simple util to determine whether a Launchpad run is local.
Add simple util to determine whether a Launchpad run is local.

PiperOrigin-RevId: 456984148
Change-Id: Icc2c7a57e20d22e088434988b394e411119a9671

deepmind/acme,deepmind/acme