public function checkDeviceProperties(array $properties, string $message) : void
    {
        if (array_key_exists('Device_Name', $properties)
            || array_key_exists('Device_Maker', $properties)
            || array_key_exists('Device_Type', $properties)
            || array_key_exists('Device_Pointing_Method', $properties)
            || array_key_exists('Device_Code_Name', $properties)
            || array_key_exists('Device_Brand_Name', $properties)
            || array_key_exists('isMobileDevice', $properties)
            || array_key_exists('isTablet', $properties)
        ) {
            throw new \LogicException($message);
        }
    }
public function checkDeviceProperties(array $properties, string $message) : void
    {
        if (array_key_exists('Device_Name', $properties)
            || array_key_exists('Device_Maker', $properties)
            || array_key_exists('Device_Type', $properties)
            || array_key_exists('Device_Pointing_Method', $properties)
            || array_key_exists('Device_Code_Name', $properties)
            || array_key_exists('Device_Brand_Name', $properties)
            || array_key_exists('isMobileDevice', $properties)
            || array_key_exists('isTablet', $properties)
        ) {
            throw new \LogicException($message);
        }
    }
public function checkDeviceProperties ( array $ properties , string $ message ) : void { if ( array_key_exists ( 'Device_Name' , $ properties ) || array_key_exists ( 'Device_Maker' , $ properties ) || array_key_exists ( 'Device_Type' , $ properties ) || array_key_exists ( 'Device_Pointing_Method' , $ properties ) || array_key_exists ( 'Device_Code_Name' , $ properties ) || array_key_exists ( 'Device_Brand_Name' , $ properties ) || array_key_exists ( 'isMobileDevice' , $ properties ) || array_key_exists ( 'isTablet' , $ properties ) ) { throw new \ LogicException ( $ message ) ; } }
checks if device properties are set inside a properties array

@param array  $properties
@param string $message

@throws \LogicException
checks if device properties are set inside a properties array