def METHOD_NAME(text: str, max_length: int) -> str:
    """A helper method designed to return a wrapped string.
    :param text: Text to wrap
    :param max_length: Maximum allowed string length
    :return: Wrapped text or original text
    """
    if len(text) >= max_length:
        return '\n'.join(wrap(text, max_length))
    return text