def check(mlp_lmax: str):
    """check whether mlp_lmax is optimized

    Args:
        mlp_lmax (str): lmaxs of MLP

    Returns:
        bool: True or False
    """
    if "-" not in mlp_lmax:
        return True
    else:
        l2, l3 = map(int, mlp_lmax.split("-"))
        if l2 >= l3:
            return True