Added isEmpty method to ResultSet