def guess_contains_libdb(lines):
    """Tries to determine if a file includes libdb
    """
    signatures = [
        'BDB1568 Berkeley DB library does not support DB_REGISTER on this system'
        , 'BDB1507 Thread died in Berkeley DB library', 'Berkeley DB ']
    for line in lines:
        for signature in signatures:
            if signature in line:
                return True
    return False
