code: boolean checkPrefix(char[] chars, int[] cursor) {
      if (prefix == null)
        return true;
      else
        return matchClause(prefix, chars, cursor);
    }
docs: Internal method to evaluate a candidate against the prefix