Renamed validate to isValid
Renamed validate to isValid