class_docstr: Embedding projector.
class_docstr_tok: ["Embedding","projector","."]
docstr: Determines whether this plugin is active.
  
  This plugin is only active if any run has an embedding, and only
  when running against a local log directory.
  
  Returns:
    Whether any run has embedding data to show in the projector.
code: def is_active(self):
      """Determines whether this plugin is active.
  
      This plugin is only active if any run has an embedding, and only
      when running against a local log directory.
  
      Returns:
        Whether any run has embedding data to show in the projector.
      """
      if not self.data_provider or not self.logdir:
          return False
  
      if self._is_active:
          # We have already determined that the projector plugin should be active.
          # Do not re-compute that. We have no reason to later set this plugin to be
          # inactive.
          return True
  
      if self._thread_for_determining_is_active:
          # We are currently determining whether the plugin is active. Do not start
          # a separate thread.
          return self._is_active
  
      # The plugin is currently not active. The frontend might check again later.
      # For now, spin off a separate thread to determine whether the plugin is
      # active.
      new_thread = threading.Thread(
          target=self._determine_is_active,
          name="ProjectorPluginIsActiveThread",
      )
      self._thread_for_determining_is_active = new_thread
      new_thread.start()
      return False
  
imports: import collections
  import functools
  import imghdr
  import mimetypes
  import os
  import threading
  import numpy
  from werkzeug import wrappers
  from google.protobuf import json_format
  from google.protobuf import text_format
  from tensorboard import context
  from tensorboard.backend.event_processing import plugin_asset_util
  from tensorboard.backend.http_util import Respond
  from tensorboard.compat import tf
  from tensorboard.plugins import base_plugin
  from tensorboard.plugins.projector import metadata
  from tensorboard.plugins.projector.projector_config_pb2 import ProjectorConfig
  from tensorboard.util import tb_logging
label_desc: Use image node_id 3 for calling the ProjectorPlugin obj's underlying member method code with example usage: obj.is_active() and returns: False, False, True, self