docstr: Create a new custom registry.
docstr_tok: ["Create","a","new","custom","registry","."]
code: def create(
      cls, registry_name: str, entry_points: bool = False
  ) -> None:
      """Create a new custom registry."""
      if hasattr(cls, registry_name):
          raise ValueError(f"Registry '{registry_name}' already exists")
      reg: Decorator = catalogue.create(
          "thinc", registry_name, entry_points=entry_points
      )
      setattr(cls, registry_name, reg)
  
imports: import catalogue
  import confection
  from confection import VARIABLE_RE, Config, ConfigValidationError, Promise
  from .types import Decorator
label_desc: Use image node_id 1 for calling the registry obj's underlying member method code with example usage: obj.create(cls, registry_name, entry_points) without return types