from typing import Any


def _is_empty(item: Any) -> bool:
    """
    Returns True if the argument has length 0.
    :param item: Object to check.
    :return: True if the argument has length 0. False otherwise.
    """
    return hasattr(item, '__len__') and len(item) == 0