def can_handle(self, input_dict):
        """
        Validates that the input dictionary contains only one key and is of the given intrinsic_name

        :param input_dict: Input dictionary representing the intrinsic function
        :return: True if it matches expected structure, False otherwise
        """

        return input_dict is not None \
            and isinstance(input_dict, dict) \
            and len(input_dict) == 1 \
            and self.intrinsic_name in input_dict
def can_handle ( self , input_dict ) : return input_dict is not None and isinstance ( input_dict , dict ) and len ( input_dict ) == 1 and self . intrinsic_name in input_dict
Validates that the input dictionary contains only one key and is of the given intrinsic_name

        :param input_dict: Input dictionary representing the intrinsic function
        :return: True if it matches expected structure, False otherwise