this should return true or false based on the validity of the object