docs: def get_supported_boot_mode(supported_boot_mode):
          """Return bios and uefi support.
  
          :param supported_boot_mode: Supported boot modes
          :return: A tuple of 'true'/'false' based on bios and uefi
              support respectively.
          """
          boot_mode_bios = 'false'
          boot_mode_uefi = 'false'
          if (supported_boot_mode ==
                  sys_cons.SUPPORTED_LEGACY_BIOS_ONLY):
              boot_mode_bios = 'true'
          elif (supported_boot_mode ==
                  sys_cons.SUPPORTED_UEFI_ONLY):
              boot_mode_uefi = 'true'
          elif (supported_boot_mode ==
                  sys_cons.SUPPORTED_LEGACY_BIOS_AND_UEFI):
              boot_mode_bios = 'true'
              boot_mode_uefi = 'true'
  
          return SupportedBootModes(boot_mode_bios=boot_mode_bios,
                                    boot_mode_uefi=boot_mode_uefi)