public boolean isHierachic(String string){
  int index=string.indexOf(m_Seperator);
  if ((index == (string.length() - 1)) || (index == -1)) {
    return false;
  }
  return true;
}

public boolean isHierachic ( String string ) { int index = string . indexOf ( m_Seperator ) ; if ( ( index == ( string . length ( ) - 1 ) ) || ( index == - 1 ) ) { return false ; } return true ; }
whether the given string has a hierachy structure with the seperators
