code: def supports(self, config, context):
          
          try:
              from flask import request
          except ImportError:
              return False
          else:
              return bool(request)
docs: Check whether we are in a Flask request context.
          :param config: honeybadger configuration.
          :param context: current honeybadger configuration.
          :return: True if this is a django request, False else.