def check_return_type(value, cllable = None, clss = None, caller_level = 0):
    """Can be called from within a function or method to apply typechecking to
    the value that is going to be returned. Checking is applied w.r.t.
    type hints of the function or method hosting the call to check_return_type.
    """
    return _check_caller_type(True, cllable, value, clss, caller_level+1)
Can be called from within a function or method to apply typechecking to
    the value that is going to be returned. Checking is applied w.r.t.
    type hints of the function or method hosting the call to check_return_type.