@staticmethod
def is_configured(func, args, kwargs):
    """Check if func has been configured (with `parameters`) to run with args/kwargs."""
    flag_arg = True
    flag_kwarg = True
    if args not in func.__fargs__:
        flag_arg = False
    if kwargs:
        for key, value in kwargs.items():
            if value not in func.__fkwargs__.get(key, ['__none__']):
                flag_kwarg = False
    elif not kwargs and func.__fkwargs__:
        flag_kwarg = False
    if args == func.__fargs__:
        flag_arg = True
    return True if flag_arg and flag_kwarg else False
