added a function to check if we have bananas the list