def _is_regular_file_entity(self, entity_type: type, entity: BaseEntity) -> bool:
        """Check if entity is a regular FileEntity (not CodeFileEntity)."""
        return (
            issubclass(entity_type, FileEntity)
            and not issubclass(entity_type, CodeFileEntity)
            and not isinstance(entity, CodeFileEntity)
        )
Check if entity is a regular FileEntity (not CodeFileEntity).
backend/airweave/platform/sync/router.py