code: private boolean hasExpressionWithOperator(Operator op)
      {
          for (UriTemplateComponent c : components)
          {
              if (Expression.class.isInstance(c))
              {
                  Expression e = (Expression) c;
                  if (e.getOperator() == op)
                  {
                      return true;
                  }
              }
          }
          return false;
      }
docs: Scans the components for an expression with the specified operator.
  
  @param op
  @return