isIgnoredObject

@param object $oject

@return boolean
510833
protected function isIgnoredObject($object)
    {
        return in_array(
            strtolower($class = ($parent = get_parent_class($object)) ? $parent : get_class($object)),
            $this->ignoredObjects
        );
    }
1018430
public function isValueObject($object)
    {
        if (!is_string($object)) {
            $object = get_class($object);
        }

        return array_key_exists($object, $this->valueClasses);
    }
1265620
protected function isValid($object)
    {
        if (!is_object($object)) {
            $this->addError('Object expected, %1$s given.', 1241099149, [gettype($object)]);
            return;
        } elseif ($this->isValidatedAlready($object) === true) {
            return;
        }
        foreach ($this->propertyValidators as $propertyName => $validators) {
            $propertyValue = $this->getPropertyValue($object, $propertyName);
            $result = $this->checkProperty($propertyValue, $validators);
            if ($result !== null) {
                $this->result->forProperty($propertyName)->merge($result);
            }
        }
    }
913405
private static function canBeSerializedAsValue($object)
    {
        $result = true;
        self::traverse(false, $object, function ($obj) use (&$result)
        {
            // short circuit as soon as possible.
            if ($result === false)
            {
                return;
            }
            // cannot make a pointer to an unsaved object.
            if ($obj instanceof AVObject)
            {
                if (!$obj->getObjectId())
                {
                    $result = false;

                    return;
                }
            }
        });

        return $result;
    }
741441
protected function registerDirty(PersistentObject $object) {
    $key = $object->getOID()->__toString();
    // if it was a new or deleted object, we return immediatly
    if (isset($this->newObjects[$key]) || isset($this->deletedObjects[$key])) {
      return $object;
    }
    if (self::$isDebugEnabled) {
      self::$logger->debug("Register dirty object: ".$key);
    }
    $this->dirtyObjects[$key] = $object;
    return $object;
  }
243670
protected function doesContainsObjects(array $objects) : bool
    {
        $this->toOrderedMap();

        foreach ($objects as $object) {
            if ($object->hasId()) {
                if (!isset($this->identityMap[$object->getId()])) {
                    return false;
                }
            } else {
                if (!isset($this->instanceIdMap[$object])) {
                    return false;
                }
            }
        }

        return true;
    }
625573
public function equals($object): bool
    {
        if (get_class($this) === get_class($object)) {
            $props = Collection::collect((new \ReflectionObject($this))->getProperties());

            return $props
                ->filter(function ($prop) use ($object) {
                    /** @var \ReflectionProperty $prop */
                    $prop->setAccessible(true);

                    return (string)$prop->getValue($object) === (string)$prop->getValue($this);
                })
                ->count() === $props->count()
            ;
        }

        return false;
    }
800251
public static function isDate($object)
    {
        return $object instanceof \DateTime || (static::isString($object) && strtotime((string)$object) !== false);
    }
1353831
public function isEmbeddedObject(array $objectElement)
    {
        foreach ($objectElement as $childKey => $childValue) {
            $childKeyIndicator = substr($childKey, 0, 1);
            if ($childKeyIndicator !== '#' && $childKeyIndicator !== '_') {
                return true;
            }
        }

        return false;
    }
160908
public function isReadOnly($object)
    {
        if ( ! is_object($object)) {
            throw ORMInvalidArgumentException::readOnlyRequiresManagedEntity($object);
        }

        return isset($this->readOnlyObjects[spl_object_hash($object)]);
    }
59520
public function equalsTo(Object $object)
    {
        if (!$this->sameTypeAs($object)) {
            throw new NotMatchTypeException($this);
        }

        return $this->start()->equalsTo($object->start()) && $this->end()->equalsTo($object->end());
    }
83807
public function canHandle($object)
    {
        if ($object instanceof File || ($object instanceof Media && (is_file($object->getContent()) || $object->getLocation() == 'local'))) {
            return true;
        }

        return false;
    }
605297
public function dequeue( KObjectHandlable $object)
    {
        $result = false;

        if($handle = $object->getHandle())
        {
            if($this->__object_list->offsetExists($handle))
            {
                $this->__object_list->offsetUnset($handle);
                $this->__priority_list->offsetUnSet($handle);

                if($object instanceof KObjectInterface) {
                    unset($this->__identifier_list[$handle]);
                }

                $result = true;
            }
        }

        return $result;
    }
589883
public function equalsTo(Object $object)
    {
        if (!$this->sameTypeAs($object)) {
            throw new NotMatchTypeException($this);
        }

        return $this->getId()->id() === $object->getId()->id();
    }
611186
public function isRegisteredValueObject($object)
    {
        if (!is_string($object)) {
            $object = get_class($object);
        }

        return array_key_exists($object, $this->valueClasses);
    }
159105
protected function isGranted($attributes, $object = null)
    {
        return $this->getContainer()->get('security.authorization_checker')->isGranted($attributes, $object);
    }
1208324
protected function _isArticleAssigned($oArticle)
    {
        $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $sDiscountIdQuoted = $oDb->quote($this->oxdiscount__oxid->value);

        $sQ = "select 1
                from oxobject2discount
                where oxdiscountid = {$sDiscountIdQuoted} and oxtype = 'oxarticles' ";
        $sQ .= $this->_getProductCheckQuery($oArticle);

        return $oDb->getOne($sQ) ? true : false;
    }