Add environment variable check utility