def METHOD_NAME(self, client, timeout=60):
    all_registered = False
    while timeout > 0:
        self.simulator.go(3)
        timeout -= 3
        client_services = client.srp_client_get_services()
        all_registered = all(service['state'] == 'Registered' for service in client_services)
        if all_registered:
            break
    self.assertTrue(all_registered, "Some services are not registered successfully")