A fixed point theorem for a general epidemic model