from typing import Optional
from typing import Dict


def no_response_from_crawl(stats: Optional[Dict]) -> bool:
    """
    Check that the stats dict has received an HTTP 200 response

    :param stats: Crawl stats dictionary
    :return: True if the dict exists and has no 200 response
    """
    if not stats or not isinstance(stats, Dict):
        return False

    status_codes = stats.get("status_codes", {})
    if not status_codes or not isinstance(status_codes, Dict):
        return False

    return 200 not in status_codes