def METHOD_NAME(self, prefix):
    # XXX Why the heck is this method here?
    prefix = prefix.lower()
    for index, s in enumerate(self):
        if s.lower().startswith(prefix):
            return index
    return -1