Adds `is_structure_of_integers` and `is_structure_of_floats` to API.
Adds `is_structure_of_integers` and `is_structure_of_floats` to API.

PiperOrigin-RevId: 369595993

tensorflow/federated,tensorflow/federated,tensorflow/federated