Check if the _sock attribute is None to check if the transport is closed.
Attach a file by drag & drop or click to upload