public function hasReference($fieldName) { return isset($this->fieldMappings[$fieldName]['reference']); }