import inspect


def has_unknown_parameters(func):
    """
    Returns True if the function contains a parameter like ``**params``.

    @param      func    function
    @return             True if the function contains something like ``**params``
    """
    # de = func.__defaults__
    # na = func.__code__.co_varnames
    keys = inspect.signature(func)
    return "**" in str(keys)