code: func isTrueLiteral(expr Expr) bool {
  	if expr, ok := expr.(*BooleanLiteral); ok {
  		return expr.Val == true
  	}
  	return false
  }
docs: // isTrueLiteral returns true if the expression is a literal "true" value.