def METHOD_NAME(self):
    """Returns the longest prefix, or empty string if no prefixes specified."""
    prefixes = self.prefixes
    if not prefixes:
        return ""
    max_index = max(range(len(prefixes)), key=lambda i: prefixes[i])
    return prefixes[max_index]