Run
Online Code Editor
isValid Example