'Element-wise startswith.
Parameters
prefix : str
Returns
matches : np.ndarray[bool]
An array with the same shape as self indicating whether each
element of self started with ``prefix``.'

def startswith(self, prefix):

    return self.map_predicate((lambda elem: elem.startswith(prefix)))
