public static boolean isAllUpperCase( String name ) {
        for (int i = 0; i < name.length(); i++) {
            if (!Ascii.isUpperCase( name.charAt( i ))) {
                return false;
            }
        }
        return true;
    }
Returns the given text with the first letter in upper case.

<h2>Examples:</h2>
<pre>
capitalize("hi") == "Hi"
capitalize("Hi") == "Hi"
capitalize("hi there") == "hi there"
capitalize("") == ""
capitalize(null) == null
</pre>
@param text the text to capitalize
@return text with the first letter in upper case
jgiven-core/src/main/java/com/tngtech/jgiven/impl/util/WordUtil.java