public function alreadyInDataSource($objectType, $name)
{
if (!isset($this->dataSource[$objectType])) {
return false;
}
foreach ($this->dataSource[$objectType] as $oneSpecData) {
if ($oneSpecData['name'] == $name) {
return true;
}
}
return false;
}