public static boolean isMagicBranch(String refName){
  return refName.startsWith(NEW_DRAFT_CHANGE) || refName.startsWith(NEW_PUBLISH_CHANGE) || refName.startsWith(NEW_CHANGE);
}

public static boolean isMagicBranch ( String refName ) { return refName . startsWith ( NEW_DRAFT_CHANGE ) || refName . startsWith ( NEW_PUBLISH_CHANGE ) || refName . startsWith ( NEW_CHANGE ) ; }
checks if the supplied ref name is a magic branch
