Wrapping the evaluation of the statement in the if condition in a function would go a *very* long way with respect to readablity.

```php
if ($this->moduleLayoutIsForLeftColumn($module, $layout_id)) {
// stuff
}
```

means a lot more to me than

```php
if (((isset($module['layout_id']) && $module['layout_id'] == $layout_id) || (isset($module['layouts']) && in_array($layout_id, $module['layouts']))) && $module['position'] == 'column_left' && $module['status']) {
// stuff
}
```