'Elementwise contains.
Parameters
substring : str
Returns
matches : np.ndarray[bool]
An array with the same shape as self indicating whether each
element of self ended with ``suffix``.'

def has_substring(self, substring):

    return self.map_predicate((lambda elem: (substring in elem)))
