def has_no_empty_params(rule):
    """
    Check whether a flask rule has no empty paramaters.

    Args:
        rule: The rule to check.

    Returns:
        True or False.
    """
    defaults = rule.defaults if rule.defaults is not None else ()
    arguments = rule.arguments if rule.arguments is not None else ()
    return len(defaults) >= len(arguments)