It check the element or react component is valid or not.
E.g.
React.isValidElement( React.createElement('div') ) // true
React.isValidElement( <div /> ) // true
React.isValidElement( <Component /> ) // true
Invalid elements:
React.isValidElement( null ) // false
React.isValidElement( true ) // false