Is this object new? This is essentially a helpful wrapper for Repository::init( $this )->isNew( $this ); Reads better doesn't it.
@return booly
195561
public function isNew()
    {
        try {
            if( $repository = $this->r() ) {
                return $repository->isNew( $this );
            }
        } catch ( EntityMissingEntityManagerException $e ) {
        }
        throw new \LogicException( "We've not got a repository configured for this entity. I can't answer this question." );
    }
571458
public function hasValidNewValue()
    {
        $value = $this->getNewValue();

        if (is_null($value) || false === $value) {
            return false;
        }

        if (is_string($value)) {
            return !is_empty_string($value);
        }

        return true;
    }
1305596
public function isNew()
    {
        /**
         * This check was a problem for a self-hosted site, and may indicate a bug in the interpreter on their server,
         * or a bug here. Changing the condition from empty($this->ID) to !$this->ID && !$this->record['ID'] fixed this.
         */
        if (empty($this->ID)) {
            return true;
        }

        if (is_numeric($this->ID)) {
            return false;
        }

        return stripos($this->ID, 'new') === 0;
    }
757611
public function isOutdated()
    {
        if ($this->Fetched) {
            $fetched = new \DateTime($this->Fetched);
            $now = new \DateTime("now");
            $diff = $now->getTimestamp() - $fetched->getTimestamp();
            if ($diff > Client::getRefreshRate()) {
                return true;
            }
            return false;
        }

        return true;
    }
1117706
public function isNewObject($object)
    {
        return ($this->entityManager->getUnitOfWork()->getEntityState($object, \Doctrine\ORM\UnitOfWork::STATE_NEW) === \Doctrine\ORM\UnitOfWork::STATE_NEW);
    }
1368624
public static function init()
    {
        Splash::core();
        //====================================================================//
        // Initialize I/O Data Buffers
        self::$Inputs = new ArrayObject(array(), ArrayObject::ARRAY_AS_PROPS);
        self::$Outputs = new ArrayObject(array(), ArrayObject::ARRAY_AS_PROPS);

        return true;
    }
672064
public function newInstance()
    {
        $class = $this->entityMap->getClass();

        if ($this->entityMap->useDependencyInjection()) {
            return $this->newInstanceUsingDependencyInjection($class);
        }

        return $this->newInstanceUsingInstantiator($class);
    }
868246
public function init(): bool
    {
        // Sets the protected $_url
        $this->_getUrl();

        // Load the default Controller if no URL is set
        // eg: Visit http://localhost it loads Default Controller
        if (empty($this->_url[0])) {
            $this->_loadDefaultController();

            return false;
        }

        $this->_loadExistingController();
        $this->_callControllerMethod();

        return true;
    }
1345835
public function newInstance()
    {
        /** @noinspection PhpUnusedLocalVariableInspection */
        $name = "{$this->getMockNamespaceName()}\\{$this->getMockName()}";
        /** @noinspection PhpUnusedLocalVariableInspection */
        $code = $this->generateCode();
        /** @var $reflect \ReflectionClass */
        $reflect = eval("$code return new \\ReflectionClass('$name');");

        try {
            return $reflect->newInstanceArgs($this->constructorArgs);
        } catch (ReflectionException $e) {
            return $reflect->newInstance();
        }
    }
1121726
public static function Init()
	{
		if( !is_null(self::$_Instance) )
		{
			throw RuntimeException::EnvironmentFactoryAlreadyInitialized();
		}

		self::$_Instance = new static();

		return self::$_Instance;
	}
1221185
public function init($data = null)
    {
        if ($this->initialized) {
            return $this;
        }

        if (is_null($data)) {
            $data = $this->fetchData();
        }

        if ($this->isInitialized($data)) {
            $this->initialized = true;
        }

        $this->data = $data;
        if ($this->initialized) {
            $this->onData($data);
        }

        return $this;
    }
1296028
public static function init(){
		if(self::$initialized){
			return true;
			}
		$surl=$_SERVER["REQUEST_URI"];
		if(empty($surl)){
			return false;
			}
		$squery=parse_url($surl,PHP_URL_QUERY);
			if(empty($squery)){
			return false;
			}
		//Parsing string "a=1&b=3&c=abc" into array
		$query=array();
		parse_str($squery,$query);
		self::$variables=$query;
		self::$initialized=true;
		return true;
		}
1166379
public function objectExists() {
		if ($this->data()->useObjectExistsHandling()) {
			return singleton($this->CreateType)->objectExists($this->request->postVars(), $this->pid);
		}
	}
1372411
function is_property($new = null)
    {
        if (isset($new) && ($this->_attributes['is_property'] != $new)){
            $this->change('is_property', (bool)$new);
        }
        return $this->_attributes['is_property'];
    }
1162245
final public function hasChanged() {

		$class = get_called_class();
		$varFields = $class::getBinds();

		// create a new similar object that populates properly
		$newObj = new $class($this->{$this->keyProperties});
		
		if (!$newObj) return TRUE;
		
		foreach ($varFields as $property => $field) {
			if ($this->$property != $newObj->$property) {
				return TRUE;
			}
		}
		
		return FALSE;
		
	}
410664
public function & InitAll () {
		/** @var $this \MvcCore\Route */
		if ($this->match === NULL && $this->reverse === NULL) {
			$this->initMatchAndReverse();
		} else if ($this->match !== NULL && ($this->reverseParams === NULL || $this->lastPatternParam === NULL)) {
			$this->initReverse();
		}
		return $this;
	}
1152624
private function _initialize()
    {
        list($status, $reason, $etag, $last_modified, $content_type,
            $content_length, $metadata) =
                $this->container->cfs_http->head_object($this);
        #if ($status == 401 && $this->_re_auth()) {
        #    return $this->_initialize();
        #}
        if ($status == 404) {
            return False;
        }
        if ($status < 200 || $status > 299) {
            throw new InvalidResponseException("Invalid response (".$status."): "
                . $this->container->cfs_http->get_error());
        }
        $this->etag = $etag;
        $this->last_modified = $last_modified;
        $this->content_type = $content_type;
        $this->content_length = $content_length;
        $this->metadata = $metadata;
        return True;
    }