def check_supported_type()

in azurefunctions-extensions-base/azurefunctions/extensions/base/meta.py [0:0]


    def check_supported_type(cls, annotation: type) -> bool:
        if annotation is None:
            return False

        # The annotation is a class/type (not an object) - not iterable
        if (isinstance(annotation, type)
                and issubclass(annotation, sdkType.SdkType)):
            return True

        # An iterable who only has one inner type and is a subclass of SdkType
        return cls._is_iterable_supported_type(annotation)