code: function removeAfterKeyword () {
      var hasKeyword = false;
      return function (family) {
          if (~keywords.indexOf(family)) {
              hasKeyword = true;
              return true;
          }
          return !hasKeyword;
      };
  }
docs: No point in keeping the rest of the declaration after a keyword