If Variable Contains String Javascript Example Functions In Python