from typing import Any
from typing import MutableMapping
from typing import MutableSequence


def is_adjacency_list(item: Any) -> bool:
    """Returns whether 'item' is an adjacency list."""
    return (isinstance(item, MutableMapping) 
            and all(isinstance(v, MutableSequence) for v in item.values()))