def METHOD_NAME(self, container: Container) -> None:
    """
    Stop and delete the container
    :param samcli.local.docker.container.Container container: Container to stop
    """
    if self.do_shutdown_event:
        container.METHOD_NAME()
    container.delete()