import inspect


def get_method_arguments(method, exclude=None):
    """
        Return the method's argument, associated with a boolean describing whether
        or not the given argument is required.
    """
    signature = inspect.getfullargspec(method)
    args_count = len(signature.args) if signature.args else 0
    default_args_count = len(signature.defaults) if signature.defaults else 0
    result = {
        arg: args_count - i > default_args_count
        for i, arg in enumerate(signature.args)
    }
    if exclude:
        for arg in exclude:
            result.pop(arg)
    return result