You can try it klist -s. On the man page:
"causes klist to start silently (it doesnβt give any output), but it still sets the exit status depending on whether it finds the credential cache. The exit status is '0 if klist finds the credential cache, and' 1 if he is not or if the tickets have expired. "
source
share