code: public boolean isRowAvailable() {
  
          if (resultSet == null) {
  	    return (false);
          } else if (index < 0) {
              return (false);
          }
          try {
              if (resultSet.absolute(index + 1)) {
                  return (true);
              } else {
                  return (false);
              }
          } catch (SQLException e) {
              throw new FacesException(e);
          }
  
      }
docs: <p>Return <code>true</code> if there is <code>wrappedData</code>
  available, and the result of calling <code>absolute()</code> on the
  underlying <code>ResultSet</code>, passing the current value of
  <code>rowIndex</code> plus one (to account for the fact that
  <code>ResultSet</code> uses one-relative indexing), returns
  <code>true</code>.  Otherwise, return <code>false</code>.</p>
  
  @throws FacesException if an error occurs getting the row availability