Is there a easy way to check if a browser has cookies enabled other than writing a cookie and then trying to read it?