def _has_ajaxcrawlable_meta(text):

    # Stripping scripts and comments is slow (about 20x slower than
    # just checking if a string is in text); this is a quick fail-fast
    # path that should work for most pages.
    if 'fragment' not in text:
        return False
    if 'content' not in text:
        return False

    text = html.remove_tags_with_content(text, ('script', 'noscript'))
    text = html.replace_entities(text)
    text = html.remove_comments(text)
    return _ajax_crawlable_re.search(text) is not None
Imports the Spatial Reference from the EPSG code (an integer).
dataset/ETHPy150Open scrapy/scrapy/scrapy/downloadermiddlewares/ajaxcrawl.py/_has_ajaxcrawlable_meta--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/gis/gdal/srs.py/SpatialReference.import_epsg