code: def uses_fast_cpp_protos_or_die():
      """Raises an error if a slow protobuf implementation is being used."""
      if api_implementation.Type() != "cpp":
          raise ValueError(
              "Expected to be using C++ protobuf implementation "
              '(api_implementation.Type() == "cpp") but it is {}'.format(
                  api_implementation.Type()
              )
          )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from google.protobuf.internal import api_implementation
label_desc: Use image node_id 1 for calling a global function with example usage: uses_fast_cpp_protos_or_die() without return types