Pregunta de entrevista de Capgemini

How to validate if a given address is a valid IP Address using python