'Verify if the ip address is valid
:param ip String: IP Address
:return: True if a valid IP Address or False'

def __isipaddress(self, parameter):

    octet1 = '([1-9][0-9]{,1}|1[0-9]{2}|2[0-4][0-9]|25[0-5])'
    octet = '([0-9]{1,2}|1[0-9]{2}|2[0-4][0-9]|25[0-5])'
    pattern = (((((('^' + octet1) + '\\.(') + octet) + '\\.){2}') + octet) + '$')
    if (re.match(pattern, parameter) is None):
        return False
    else:
        return True
