tests for is.defined
jsdoc for is.exists
add is.array
add is.bool
is.int refactoring