Detect, if post is saved manually or programmatically in save_post-hook

Detect, if post is saved manually or programmatically in save_post-hook