function isIgnored(component) {
      return (
        ignoreStateless && (
          /Function/.test(component.node.type)
          || utils.isPragmaComponentWrapper(component.node)
        )
      );
    }
Checks if the component is ignored
@param {Object} component The component being checked.
@returns {boolean} True if the component is ignored, false if not.