Heater problems Toyota Rav4

Has the coolant system been checked for a head gasket leak which might cause air pockets in the coolant system?