def is_collections_type(type_):
    """ Checks if the given type is a ``collections`` module type

    :param type_: The type to check
    :return: True if the type is part of the ``collections`` module, otherwise False
    :rtype: bool
    """

    return (
        isinstance(type_, type) and getattr(type_, "__module__", None) == "collections"
    )