Checks if the Fetch API is supported in the current environment.
Optional
[Optional] If True, check if fetch is available and it supports the keepalive feature, otherwise only check if fetch is supported
True if supported, otherwise false
Checks if the Fetch API is supported in the current environment.