validate method

bool validate()

Implementation

bool validate() {
  return currentState?.validate() ?? false;
}