def is_null(value):
if type(value) in (tuple, list):<EOL><INDENT>for v in value:<EOL><INDENT>if v is None:<EOL><INDENT>return True<EOL><DEDENT><DEDENT>return False<EOL><DEDENT>else:<EOL><INDENT>return value is None<EOL><DEDENT>
Check if the scalar value or tuple/list value is NULL.

:param value: Value to check.
:type value: a scalar or tuple or list

:return: Returns ``True`` if and only if the value is NULL (scalar value is None
    or _any_ tuple/list elements are None).
:rtype: bool