code: public static boolean isCompositeComponentAttrsMethodExpression(String expression)
      {
          if (expression.contains(CC_ATTRS))
          {
              return CC_ATTRS_METHOD_EXPRESSION_REGEX.matcher(expression).matches();
          }
          else
          {
              return false;
          }
      }
docs: Tests if cc.attrs is used as a method expression in an expression String. This means
  cc.attrs must occur, must stand before a '(', because otherwise it would be a method parameter
  (EL 2.2), and there must be no '.' after cc.attrs unless there is a left parenthesis
  before it (e.g. #{cc.attrs.method(bean.parameter)}).
  @param expression
  @return