Make this variable name a little more descriptive. Maybe, is_api_call ?