def METHOD_NAME(self, skel: 'SkeletonInstance', name: str, parentIndexed: bool) -> bool:
    if name in skel.accessedValues and skel.accessedValues[name]:
        value = skel.accessedValues[name]
        if isinstance(value, dict):  # It is a pre-hashed value (probably fromClient)
            skel.dbEntity[name] = value
        else:  # This has been set by skel["password"] = "secret", we'll still have to hash it
            skel.dbEntity[name] = encode_password(value, utils.generateRandomString(self.saltLength))
        # Ensure our indexed flag is up2date
        indexed = self.indexed and parentIndexed
        if indexed and name in skel.dbEntity.exclude_from_indexes:
            skel.dbEntity.exclude_from_indexes.discard(name)
        elif not indexed and name not in skel.dbEntity.exclude_from_indexes:
            skel.dbEntity.exclude_from_indexes.add(name)
        return True
    return False