code: public boolean isPatterned() {
  
          final boolean result;
          if (pattern.indexOf('*') != -1 || pattern.indexOf('?') != -1) {
              result = true;
          } else {
              result = false;
          }
  
          return result;
      }
docs: Returns true if the given path resolves a pattern as opposed to a literal path
  @return True if pattern containing any * or ? character