Check If String Has Special Characters Python