[Validator] Added isValid() getter

This PR was submitted on the symfony/Validator read-only repository and moved automatically to the main Symfony repository (closes symfony/Validator#7).

Reposted in the main repo.