@staticmethod
def _is_empty(value):
    """Check whether the given value should be considered "empty"."""
    return value is None or value == '' or isinstance(value, (list, tuple,
        dict)) and not value
