boolean withinMaxCapacity(){
  return itemList.size() < CAPACITY;
}

boolean withinMaxCapacity ( ) { return itemList . size ( ) < CAPACITY ; }
returns true if the itemlist size is below the max_items capacity , false otherwise .
