def METHOD_NAME(self, value, skel: 'SkeletonInstance', name: str, parentIndexed: bool):
    if not self.caseSensitive and parentIndexed:
        return {"val": value, "idx": value.lower() if isinstance(value, str) else None}
    return value