def _validate_arg(value, expected):
    if type(value) == expected:
        return True
    return False
Returns whether or not ``value`` is the ``expected`` type.
dataset/ETHPy150Open samuraisam/django-json-rpc/jsonrpc/__init__.py/_validate_arg