Checks that the key is defined for ssh_key_secure