checkIP

Description: checks if an ip is valid
Parameter:
Returns: