Almost every family carries coconut and other fruits in flights. It's very common in south India. When they travel from hometown, mostly people carry 10-20 coconuts and this is very very common.
Genrally coconut is not allowed in hand baggage.
Especially in sabarimala season, all piligrims carry coconut for Ayyappa temple and it is allowed as a special case exception for one month. It happens every year. (Below is an old news article, but this exception is there on all years)