Python Check If String Value Is Intelligence