Detect item in container

for some reason custom item not being detected with /execute if items block -27 13 -11 container.14 potion[custom_data={drink:1b}] My item has the "drink:1b" custom data I checked. But if I do base item it works: /execute if items block -27 13 -11 container.14 minecraft:potion
Continue to help post