validateContract method
Implementation
bool validateContract(String contract) {
final result = contractsStore.findFirstSync(_instance,
finder: Finder(
filter: Filter.and([
Filter.equals("contract", contract),
])));
return result != null;
}