def check_for_node(self):
        node_path = os.path.join(self.env_dir, 'bin', 'node')
        if os.path.exists(node_path):
            version = self.run_cmd([node_path, '--version'])[1][0]
            if 'v{0}'.format(self.version) == version:
                return True
        return False
Constructs a FastbootCommands instance.
dataset/ETHPy150Open elbaschid/virtual-node/setup.py/node_build.check_for_node--crossover with--dataset/ETHPy150Open google/python-adb/adb/fastboot.py/FastbootCommands.__init__