This change renames the access checks for window.localStorage to make the intent of the method more clear.