Add utils/isList and utils/isNode

This was needed for some other functions I was working on. See docs for info on the functions.