ENH: Added flag to help debug Attribute::isValid
If the flag is true the method will print the invalid items or teh invalid status of its associations to std::cerr.
If the flag is true the method will print the invalid items or teh invalid status of its associations to std::cerr.