Check If String Has Substring Python Function Parameters Vs Arguments