renamed isCorrectCooldownString() method to isValidCooldownString()
made ternary operators more readable
refactored format variable to express its purpose better
fixed indentation to conform with project code style