def check_environment_var_existance(self):
        """To verify that all required environment variables are exist.

        Raises:
            DataminrPulseException: raise exception if any of the required environment variable is not set.
        """
        __method_name = inspect.currentframe().f_code.co_name
        env_var = [
            {"ClientId": client_id},
            {"ClientSecret": client_secret},
            {"BaseURL": BASE_URL},
        ]
        try:
            applogger.debug(
                "{}(method={}) Checking environment variables are exist or not.".format(
                    self.logs_starts_with, __method_name
                )
            )
            for i in env_var:
                key, val = next(iter(i.items()))
                if val is None:
                    raise DataminrPulseException(
                        "{} is not set in the environment please set the environment variable.".format(
                            key
                        )
                    )
            applogger.debug(
                "{}(method={}) All custom environment variable exists.".format(
                    self.logs_starts_with, __method_name
                )
            )
        except DataminrPulseException as err:
            applogger.error(
                "{}".format(
                    self.error_logs.format(self.logs_starts_with, __method_name, err)
                )
            )
            raise DataminrPulseException(err)
        except Exception as err:
            applogger.error(
                "{}".format(
                    self.error_logs.format(self.logs_starts_with, __method_name, err)
                )
            )
            raise DataminrPulseException(err)
To verify that all required environment variables are exist.

        Raises:
            DataminrPulseException: raise exception if any of the required environment variable is not set.
        
Solutions/Dataminr Pulse/Data Connectors/DataminrPulseAlerts/DataminrPulseAlertsManualActivity/dataminrpulse_integration_settings.py