def attachment_state(self):
        state = None
        if self.attach_data:
            state = self.attach_data.status
        return state
Get the attachment state.
dataset/ETHPy150Open darcyliu/storyboard/boto/ec2/volume.py/Volume.attachment_state