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
docstr: Validate samples for methods like `log_prob`, `cdf`.
  Check if `value` lies in `self.support`
docstr_tok: ["Validate","samples","for","methods","like","`","log_prob","`",",","`","cdf","`",".","Check","if","`","value","`","lies","in","`","self.support","`"]
code: def _validate_samples(self, value):
      """
      Validate samples for methods like `log_prob`, `cdf`.
      Check if `value` lies in `self.support`
      """
      return self.support.check(value)
  
imports: from numbers import Number
  from .utils import cached_property
  from ....None import np
label_desc: Use image node_id 19 for calling the Distribution obj's underlying member method code with example usage: obj._validate_samples(value) and returns: self