function hasCustomDecorator(node) {
      const allowLength = allowDecorators.length;

      if (allowLength && node.decorators && node.decorators.length) {
        for (let i = 0; i < allowLength; i++) {
          for (let j = 0, l = node.decorators.length; j < l; j++) {
            const expression = node.decorators[j].expression;
            if (
              expression
              && expression.name === allowDecorators[i]
            ) {
              return true;
            }
          }
        }
      }

      return false;
    }
Checks to see if our component is custom decorated
@param {ASTNode} node The AST node being checked.
@returns {boolean} True if node is decorated name with a custom decorated, false if not.