isValidPropositionType function

bool isValidPropositionType(
  1. String propositionType
)

Validates whether the proposition passed in is valid

Implementation

bool isValidPropositionType(String propositionType) {
  return validPropositionTypes.contains(propositionType);
}