langchain/utilities/scenexplain.py/SceneXplainAPIWrapper/validate_environment
class SceneXplainAPIWrapper:    def validate_environment(cls, values: Dict) -> Dict:
        """Validate that api key exists in environment."""
        scenex_api_key = get_from_dict_or_env(
            values, "scenex_api_key", "SCENEX_API_KEY"
        )
        values["scenex_api_key"] = scenex_api_key

        return values