def _CheckFileTimeoutMetaTags(f):
    """Checks if the given file has timeout meta tags."""
    new_contents = f.NewContents()

    for line in new_contents:
        if 'name="timeout" content="long"' in line:
            return True
    return False