class_docstr: Validation results for a dataframe.
  
  Attributes:
      passed: Whether the validation passed or not.
      errors: List of errors if the validation failed.
class_docstr_tok: ["Validation","results","for","a","dataframe",".","Attributes",":","passed",":","Whether","the","validation","passed","or","not",".","errors",":","List","of","errors","if","the","validation","failed","."]
docstr: Define the truthiness of ValidationResults.
docstr_tok: ["Define","the","truthiness","of","ValidationResults","."]
code: def __bool__(self) -> bool:
      """
      Define the truthiness of ValidationResults.
      """
      return self.passed
  
file_path: pandas-ai/pandasai/helpers/df_validator.py
imports: from typing import List, Dict
  from pydantic import ValidationError
  from pydantic import BaseModel
  from pandasai.helpers.df_info import DataFrameType, df_type
label_desc: Use image node_id 5 for calling the DfValidationResult obj's underlying member method code with example usage: obj.__bool__() and returns: self