For readbility:
```php
if (!$parts || ($parts && isset($this->configContent->import_core->expected_columns) 
	&& count($parts[0]) != (string)$this->configContent->import_core->expected_columns)
) {
```