def _one_of_ours(obj, root: str):
    return (hasattr(obj, '__name__') and (not obj.__name__.split('.')[(- 1)].startswith('_')) and getattr(obj, '__module__', getattr(obj, '__qualname__', obj.__name__)).startswith(root))
def _one_of_ours(obj, root: str):
    return (hasattr(obj, '__name__') and (not obj.__name__.split('.')[(- 1)].startswith('_')) and getattr(obj, '__module__', getattr(obj, '__qualname__', obj.__name__)).startswith(root))