Checks if the string value inside this Opt is a substring of the given string.
The string to search in
true if the value is a substring of the haystack, false otherwise
opt('ab').elemOfStrIn('abc') // trueopt('a').elemOfStrIn('def') // falsenone.elemOfStrIn('abc') // false
Checks if the string value inside this Opt is a substring of the given string.