public function isHasOneRelation(DataObject $object, $name)
    {
        return (
            $this->getSchema()->hasOneComponent($object, $name) ||
            $this->getSchema()->hasOneComponent($object, $this->trimID($name))
        );
    }