def METHOD_NAME(self, skel: 'SkeletonInstance', name: str, parentIndexed: bool) -> bool:
    """
        Serializes this bone into something we
        can write into the datastore.
        :param name: The property-name this bone has in its Skeleton (not the description!)
    """
    if name in skel.accessedValues:
        if name == "key":
            skel.dbEntity.key = skel.accessedValues["key"]
        else:
            skel.dbEntity[name] = skel.accessedValues[name]
            skel.dbEntity.exclude_from_indexes.discard(name)  # Keys can never be not indexed
        return True
    return False