Whether Secure Boot is on is a question I would rather ask the system than answer from memory of a BIOS screen.
mokutil manages machine owner keys, and its --sb-state option shows the Secure Boot state. It takes no argument.
mokutil --sb-state
The man page describes it in three words, show Secure Boot state, and that is all there is to it.
Secure Boot makes the firmware check signatures on what it boots, which makes it harder to slip something in before the operating system starts. The fwupd security rating treats a disabled Secure Boot as a runtime issue and adds a ! to your Host Security ID. So the two commands pair up: fwupdmgr security gives the whole picture, and this one answers the single question about Secure Boot.
fwupdmgr security
mokutil --sb-state
The command only reports. You turn Secure Boot on in the UEFI setup, and the command cannot do that for you. It also says nothing about which keys the machine trusts, so a positive answer is the start of a check and not the end of one. Read your distribution’s notes before you enable it on a machine that already runs well.
Further reading: mokutil man page, Host Security ID (fwupd)