code: def _can_be_converted_to_string(value):
      if not _protobuf_value_type(value):
          return False
      return json_format_compat.is_serializable_value(value)
  
imports: import collections
  import os
  from tensorboard.data import provider
  from tensorboard.plugins.hparams import api_pb2
  from tensorboard.plugins.hparams import json_format_compat
  from tensorboard.plugins.hparams import metadata
  from google.protobuf import json_format
  from tensorboard.plugins.scalar import metadata
label_desc: Use image node_id 3 for calling a global function with example usage: _can_be_converted_to_string(value) and returns: json_format_compat, False