This adds a method to check if an item stack is empty or not. This mirrors vanilla's implementation of the same method.