function isCheerioTask(action) {
  try {
    if (
      typeof action.payload.task === "function" &&
      isString(action.payload.url) === true &&
      action.type === "CHEERIO_TASK"
    ) {
      return true;
    }
  } catch (e) {
    if (e instanceof TypeError === true) {
      return false;
    }
  }
  return false;
}
// verifies that action should be handled by middleware
verifies that action should be handled by middleware
verifies that action should be handled by middleware
function isCheerioTask(action) {
  try {
    if (
      typeof action.payload.task === "function" &&
      isString(action.payload.url) === true &&
      action.type === "CHEERIO_TASK"
    ) {
      return true;
    }
  } catch (e) {
    if (e instanceof TypeError === true) {
      return false;
    }
  }
  return false;
}
function isCheerioTask ( action ) { try { if ( typeof action . payload . task === "function" && isString ( action . payload . url ) === true && action . type === "CHEERIO_TASK" ) { return true ; } } catch ( e ) { if ( e instanceof TypeError === true ) { return false ; } } return false ; }
verifies that action should be handled by middleware
verifies that action should be handled by middleware