#NEWLINE# def has_cmakelists_txt( path ) : #NEWLINE# #INDENT# '\n    Returns True if the given path contains a CMakeLists.txt, otherwise False\n\n    :param path: path to folder potentially containing CMakeLists.txt\n    :type path: str\n    :returns: True if path contains CMakeLists.txt, else False\n    :rtype: bool\n    ' #NEWLINE# cmakelists_txt_path = os . path . join ( cmakelists_txt_path , 'CMakeLists.txt' ) #NEWLINE# return os . path . isfile ( cmakelists_txt_path )