check if partition isn't NULL