The determination of compositions in non‐homogeneous ferromagnetic materials by curie temperature measurement