import inspect


def is_subclass(cls, base_class):
    """
    Returns True if cls is an actual class (type)
    and a subclass of base_cls
    """
    return inspect.isclass(cls) and issubclass(cls, base_class)