New Feature: Added public API to verify if a DomainObject is valid