tff.program.check_in_federated_context

Checks if the current context is a tff.program.FederatedContext.