public function isStandardModeProperty($propertyName, WriterInterface $writer = null)
{
$outputProperties = ['MajorVer' => 1, 'MinorVer' => 1, 'Crawler' => 1, 'Browser_Maker' => 1, 'Device_Pointing_Method' => 1];
if (isset($outputProperties[$propertyName])) {
return true;
}
if (null !== $writer && in_array($writer->getType(), ['csv', 'xml'])) {
$additionalProperties = ['PropertyName', 'MasterParent', 'LiteMode'];
if (in_array($propertyName, $additionalProperties)) {
return true;
}
}
return false;
}