from typing import Callable
import inspect


def get_expected_kwargs(inspected_function: "Callable") -> bool:
    """Inspect a function to get if expects keyword args."""
    return True if inspect.getfullargspec(inspected_function)[2] else False