parameters: (value)
docstring: Sets whether validation is enabled or disabled.
  
          The default behavior mimics Python's ``assert`` statement: validation
          is on by default, but is disabled if Python is run in optimized mode
          (via ``python -O``). Validation may be expensive, so you may want to
          disable it once a model is working.
  
          Args:
              value (bool): Whether to enable validation.
docstring_summary: Sets whether validation is enabled or disabled.
docstring_tokens: Sets whether validation is enabled or disabled .
function: def set_default_validate_args(value):
          """
          Sets whether validation is enabled or disabled.
  
          The default behavior mimics Python's ``assert`` statement: validation
          is on by default, but is disabled if Python is run in optimized mode
          (via ``python -O``). Validation may be expensive, so you may want to
          disable it once a model is working.
  
          Args:
              value (bool): Whether to enable validation.
          """
          if value not in [True, False]:
              raise ValueError
          Distribution._validate_args = value
function_tokens: def set_default_validate_args ( value ) : if value not in [ True , False ] : raise ValueError Distribution . _validate_args = value