public function shouldBePerformedOn(string $collectionName) : bool
{
//if no collections were specified, perform conversion on all collections
if (!count($this->performOnCollections)) {
return true;
}
if (in_array('*', $this->performOnCollections)) {
return true;
}
return in_array($collectionName, $this->performOnCollections);
}