Add lodash lib to check body type