SYST:PASS:STAT?
Queries whether a password-protected command is valid or invalid. If valid, SYST:SEC:IMM is executable.
Command
SYSTem:PASSword[:CENable]:STATe?
Response
Returns 1 if the command is executable in response to the SYST:PASS:STAT? query.