def is_secure_boot_requested(node):

    capabilities = parse_instance_info_capabilities(node)
    sec_boot = capabilities.get('secure_boot', 'false').lower()

    return sec_boot == 'true'
Returns True if secure_boot is requested for deploy.
dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/deploy_utils.py/is_secure_boot_requested