Viability Theorem for Deterministic Mean Field Type Control Systems