public static boolean isCompositeComponentExpression(String expression)
    {
        if (expression.contains(CC))
        {
            return CC_EXPRESSION_REGEX.matcher(expression).matches();
        }
        else
        {
            return false;
        }
    }
public static boolean isCompositeComponentExpression ( String expression ) { if ( expression . contains ( CC ) ) { return CC_EXPRESSION_REGEX . matcher ( expression ) . matches ( ) ; } else { return false ; } }
Tests if the expression refers to the current composite component: #{cc}
@return