class_docstr: A plugin definition.
  
  Args:
      directory: the directory containing the plugin
      metadata: a plugin metadata dict
class_docstr_tok: ["A","plugin","definition",".","Args",":","directory",":","the","directory","containing","the","plugin","metadata",":","a","plugin","metadata","dict"]
docstr: Whether the plugin can register the given operator.
  
  Args:
      name: the operator name
  
  Returns:
      True/False
docstr_tok: ["Whether","the","plugin","can","register","the","given","operator",".","Args",":","name",":","the","operator","name","Returns",":","True\/False"]
code: def can_register_operator(self, name):
      """Whether the plugin can register the given operator.
  
      Args:
          name: the operator name
  
      Returns:
          True/False
      """
      return self.has_py and name in self.operators
  
imports: import os
  import yaml
  import eta.core.serial
  import fiftyone
label_desc: Use image node_id 20 for calling the PluginDefinition obj's underlying member method code with example usage: obj.can_register_operator(name) and returns: unknown