def send(self, stack: Layers):
if not isinstance(stack, Stack):<EOL><INDENT>stack = Stack(stack)<EOL><DEDENT>if not self.platform.accept(stack):<EOL><INDENT>raise UnacceptableStack('<STR_LIT>'<EOL>.format(stack.describe()))<EOL><DEDENT>self._stacks.append(stack)<EOL>
Add a message stack to the send list.