[checkmk-commits] Added helper function to tell caller that this the current request is an API call , not rendering output to HTML