from typing import Optional


def check_is_subclass(obj, cls) -> Optional[bool]:
    """Call issubclass without raising exceptions."""
    try:
        return issubclass(obj, cls)
    except TypeError:
        return None