Is there some type checking API from python3.5 typing that I can use to check nested types in runtime. For example:
from typing import List
check_type([1,2,3], List[int]) # True
check_type([1,2,''], List[int]) # False
This is only example (it can be 3 or more levels nested, have List, Tuple, Dict)