instanceOf already checks for null