Add isValid method
readme updates