and it should be 

prefPart.isEmpty