Checking if an Anvil image container is empty

closing this thread for now. The initial question lacks sufficient context. Both answers from the community are largely guessing at what is going on. For future questions please follow this guide