checkKey function

Check the Brickset API key.