public boolean isSecondaryIndex(){
  return cfName.contains(".");
}

public boolean isSecondaryIndex ( ) { return cfName . contains ( "." ) ; }
the ' . ' char is the only way to identify if the cfmetadata is for a secondary index
