class_docstr: Represents the distribution_constraints object of monitoring_config in constraints file.
docstr: Checks whether distribution_constraints are valid or not.
docstr_tok: ["Checks","whether","distribution_constraints","are","valid","or","not","."]
code: def valid_distribution_constraints(distribution_constraints):
      """Checks whether distribution_constraints are valid or not."""
  
      if not distribution_constraints:
          return True
  
      return DataQualityDistributionConstraints.valid_categorical_drift_method(
          distribution_constraints.categorical_drift_method
      )
  
imports: from __future__ import print_function, absolute_import
label_desc: Use image node_id 2 for calling the DataQualityDistributionConstraints obj's underlying member method code with example usage: obj.valid_distribution_constraints(distribution_constraints) and returns: DataQualityDistributionConstraints, True