In JavaScript, the functions need the parens. So `isPressed()` is correct.