Yes, fetch returns false if there are no more rows. It thus returns false if there are not any rows all.