'Delete the nested stack.'

def delete_nested(self):

    stack_identity = self.nested_identifier()
    if (stack_identity is None):
        return
    with self.rpc_client().ignore_error_by_name('EntityNotFound'):
        if self.abandon_in_progress:
            self.rpc_client().abandon_stack(self.context, stack_identity)
        else:
            self.rpc_client().delete_stack(self.context, stack_identity, cast=False)
