question: public static boolean isCookieDomainValid ( String cookieDomain ) { return StringUtils . isEmpty ( cookieDomain ) || ! cookieDomain . contains ( ":" ) ; }
target:  Validates if cookie Domain is syntactically correct.