def is_wa_container()

in wadebug/wa_actions/docker_utils.py [0:0]


def is_wa_container(container):
    return (
        len(
            [
                repo_tag
                for repo_tag in container.image.attrs["RepoTags"]
                if (
                    repo_tag.find(WA_WEBAPP_CONTAINER_TAG) > -1
                    or repo_tag.find(WA_COREAPP_CONTAINER_TAG) > -1
                    or repo_tag.find(MYSQL_CONTAINER_TAG) > -1
                )
            ]
        )
        > 0
    )