Simple question.

I have a Linux server headless,no keyboard,no screen

I connect it using ssh

The question is: is possible to know if server was

shutdown not gracefully(for example,reset button or power outage)?

Fs is btrfs and distro is debian 9.2