@uday_guntupalli provided a good link, to determine if no data table was created, however, the data table may be created, but no rows are populated. To check for this, you need to check to see if N Rows() are greater than 0. So look in the Scripting Index for N Rows() too
Jim