Fixed problem where the check for data on the form should check for isEmpty.
Fixed problem where the check for data on the form should check for isEmpty.

formio/formio.js,formio/formio.js,GuillaumeSmaha/formio.js,formio/formio.js