Php String Include Substring In Python Example Class