/** * Compare 2 object and determines if they are equals. * * @param Object $object * @return bool Whenever the given object is the same as the current object. */ public function is($object) { return $object instanceof Object && $this->getHash() === $object->getHash(); }