The IsValid property of an object of ClassType clsDataSource identifies whether the structure of an object is valid.
Boolean
Read-only
Validity checking consists of verifying that the object's Name and Parent properties are not empty and that the IsConnected property is True. If all properties are valid, the IsValid property returns True. If any of the properties are invalid, the IsValid property returns False.