Revert "make _isEsiRequest more reliable"

This reverts commit c248cf0fc3e9086e8da167a79efcd7e506220459.