protected function hasListsOrObjects(OODBBean $bean) { $processLists = FALSE; foreach ($bean as $value) { if (is_array($value) || is_object($value)) { $processLists = TRUE; break; } } return $processLists; }