if bottle and bottle.capacity: print bottle.capacity()