def METHOD_NAME(self, strings):
    prefix = 'a'
    strings = np.array(
        [str(a) for a in strings], dtype=np.object
    )
    def string_starts_with_ref(strings):
        return (
            np.array([a.startswith(prefix) for a in strings], dtype=bool),
        )
    op = core.CreateOperator(
        'StringStartsWith',
        ['strings'],
        ['bools'],
        prefix=prefix)
    self.assertReferenceChecks(
        hu.cpu_do,
        op,
        [strings],
        string_starts_with_ref)