import typing
from typing import TypeGuard
import inspect


def is_async_iterable(obj: typing.Any) -> TypeGuard[typing.AsyncIterable[object]]:
    """Determine if the object is an async iterable or not."""
    attr = getattr(obj, "__aiter__", None)
    return inspect.isfunction(attr) or inspect.ismethod(attr)