you may have been able to get isset and empty to work with standard MySQL recordsets, but that is not the proper way for determining if they are empty or not.
the proper way to determine if a recordset is empty or not is to look at the number of rows returned. if it returns 0:
$RecordsetName->TotalRows == 0
it is empty.