code: def setShowAttachments(self, state):
          
          self._showAttachments = state
          self._attachAction.setVisible(state)
docs: Sets whether or not to show the attachments for this edit.
          
          :param      state | <bool>