function returns true if a string contains the string passed as argument Source: core/String.js, line 440