public function isMergeTypeValid() { return in_array($this->mergeType, [Filter::MERGE_AND, Filter::MERGE_OR]); }