Update README.md

Getter for is_valid and error
Merge pull request #6 from irwandi/patch-3

Update README.md