better test for whether first argument to initialize is array or URL