public static boolean isInternal(String version){
  return version != null && (version.startsWith(INTERNAL_VERSION_PREFIX) || version.endsWith(INTERNAL_VERSION_SUFFIX));
}

public static boolean isInternal ( String version ) { return version != null && ( version . startsWith ( INTERNAL_VERSION_PREFIX ) || version . endsWith ( INTERNAL_VERSION_SUFFIX ) ) ; }
checks whether a given sdk version is internal .
