def find_x(path1):
libs = os.listdir(path1)<EOL>for lib_dir in libs:<EOL><INDENT>if "<STR_LIT>" in lib_dir:<EOL><INDENT>return True<EOL><DEDENT><DEDENT>
Return true if substring is in string for files
    in specified path