Return True if the underlying transport supports the write_eof() method, False otherwise.
asyncio/StreamWriter.can_write_eof
StreamWriter.can_write_eof