public function hasAssociation($fieldName) { return isset($this->associationsMappings[$fieldName]); }