isValid(value) {
      if (value === "") {
        return true;
      }
      return !!this.getFormat().parse(value);
    }
Checks if a value is valid against the current <code>formatPattern</code> value.

<br><br>
<b>Note:</b> an empty string is considered as valid value.
@param {string} value The value to be tested against the current date format
@public
@method
@name sap.ui.webc.main.TimePickerBase#isValid
@returns {boolean}