from typing import Callable
from typing import Any
import inspect


def func_accepts_kwargs(func: Callable[..., Any]):
    """Return True if function 'func' accepts keyword arguments **kwargs."""
    parameters = list(inspect.signature(func).parameters.values())
    return any(p for p in parameters if p.kind == p.VAR_KEYWORD)