can you reuse this splitting and checking from ```PartitionName.split(...)```?