code: public static boolean conditionalExpression( String expectation )
      {
          String expression = expectation.replaceAll( CONDITIONAL_EXPRESSION_WITH_DOUBLE_QUOTES_PATTERN, "" );
  
          return Pattern.matches( CONDITIONAL_EXPRESSION_NO_DOUBLE_QUOTES_PATTERN, expression );
      }
docs: <p>conditionalExpression.</p>
  
  @param expectation a {@link java.lang.String} object.
  @return a boolean.