Use lodash to perform checks for consistency