@connected.setter
    def connected(self, val):
        if val:
            self.connect()
        else:
            self.disconnect()
Return the most appropriate Response class from a file name
dataset/ETHPy150Open UniversalDevicesInc/Polyglot/polyglot/nodeserver_api.py/PolyglotConnector.connected--crossover with--dataset/ETHPy150Open scrapy/scrapy/scrapy/responsetypes.py/ResponseTypes.from_filename