New Object.validate() function