• Returns whether the current environment is a browser, based on window being defined.

    Returns boolean