public static boolean isSourceTitleValid(String value){
  return value == null || value.length() < 1024 * 2;
}

public static boolean isSourceTitleValid ( String value ) { return value == null || value . length ( ) < 1024 * 2 ; }
returns true if the source title is valid .
