checkNetmask

Description: checks if a netmask is valid
Parameter:
Returns: