def validate(self, task):
        task.driver.boot.validate(task)
        node = task.node

        # Check the boot_mode and boot_option capabilities values.
        deploy_utils.validate_capabilities(node)

        # TODO(rameshg87): iscsi_ilo driver uses this method. Remove
        # and copy-paste it's contents here once iscsi_ilo deploy driver
        # broken down into separate boot and deploy implementations.
        validate(task)
Remove everything following comment # characters in line.
dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/iscsi_deploy.py/ISCSIDeploy.validate--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/physics/quantum/qasm.py/trim