using lodash implementation of isNaN