How's about ```if coord.dimension is not None:``` ?