how check if a specific request was made in the browser with Javascript?

I have the follow situation:
I need a way to check if a request to a specific https link was made, like I do to check if has a specific Item in the sessionStorage. example:

const thereIsTheSession = sessionStorage.getItem('EXAMPLE');

How I do this above but with requests ?
const thereISTheRequest = ???