def METHOD_NAME(self):
    """
    Check if docker contaienr is installed
    """
    database_config = get_database_config(self.gangadir())
    if self.installations["docker"]:
        # starting the database container
        docker_handler(
            action="start",
            gangadir=self.gangadir(),
            database_config=database_config
        )
        # testing status of the database container
        container_client = docker.from_env()
        flag = any([container.name == database_config["containerName"]
                    for container in container_client.containers.list()])
        assert flag
        # shutting the container
        docker_handler(
            action="quit",
            gangadir=self.gangadir(),
            database_config=database_config
        )
        flag = any([container.name == database_config["containerName"]
                    for container in container_client.containers.list()])
        assert not flag
    else:
        # skip the test if docker is not installed
        print("docker is not installed and thus skipping")