def processcheck(seekitem):
    plist = psutil.get_process_list()
str1 = ' '.join(str(x) for x in plist)
if seekitem in str1:
    pass
Python - get process names,CPU,Mem Usage and Peak Mem Usage in windows