private function findObjectWithKeyHandle(
        array $objects,
        string $keyHandle
    ) {
        foreach ($objects as $object) {
            if (hash_equals($object->getKeyHandleBinary(), $keyHandle)) {
                return $object;
            }
        }
        return null;
    }