Correct isArray for falsey values (and cross frame)