def is_pull_request(issue):
    return bool(issue.get('pull_request', {}).get('html_url', None))
Returns a query, that is a combination of Q objects. That
dataset/ETHPy150Open arokem/python-matlab-bridge/tools/gh_api.py/is_pull_request--crossover with--dataset/ETHPy150Open mozilla/django-badger/badger/models.py/SearchManagerMixin._get_query