Implementation of isFull() method