class_docstr: Base class for distribution.
  
  Parameters
  ----------
  event_dim : int, default None
      Variable indicating the dimension of the distribution's support.
  validate_args : bool, default None
      Whether to validate the distribution parameters
code: def set_default_validate_args(value):
      if value not in [True, False]:
          raise ValueError
      Distribution._validate_args = value
  
imports: from numbers import Number
  from .utils import cached_property
  from ....None import np
label_desc: Use image node_id 1 for calling the Distribution obj's underlying member method code with example usage: obj.set_default_validate_args(value) without return types