public static boolean isABurst(String toTest){
  return toTest.length() == 114 && toTest.matches("[01]*");
}

public static boolean isABurst ( String toTest ) { return toTest . length ( ) == 114 && toTest . matches ( "[01]*" ) ; }
check if the string is a burst or not
