def check_input_type_annotation(cls, pytype: type) -> bool:
        """
        Event Grid always sends an array and may send more than one event in
        the array. The runtime invokes function once for each array element,
        thus no need to parse List[EventGridEvent]
        """
        valid_types = azf_eventgrid.EventGridEvent
        return isinstance(pytype, type) and issubclass(pytype, valid_types)

        Event Grid always sends an array and may send more than one event in
        the array. The runtime invokes function once for each array element,
        thus no need to parse List[EventGridEvent]
        
Solutions/CyberArkAudit/Data Connectors/.python_packages/lib/site-packages/azure/functions/eventgrid.py