(cls, target)
return False
Checks if an input string is an IP Address or if it is
        an IP Address in CIDR or dash notation.
        Returns True if IP Address or CIDR/dash. Returns False if not.

        Argument(s):
        target -- string target provided as the first argument to the program.

        Return value(s):
        Boolean.

        Restriction(s):
        This Method is tagged as a Class Method
Checks if an input string is an IP Address or if it is
        an IP Address in CIDR or dash notation.
        Returns True if IP Address or CIDR/dash. Returns False if not.
Checks if an input string is an IP Address or if it is an IP Address in CIDR or dash notation . Returns True if IP Address or CIDR / dash . Returns False if not .
def isIPorIPList(cls, target):
        """
        Checks if an input string is an IP Address or if it is
        an IP Address in CIDR or dash notation.
        Returns True if IP Address or CIDR/dash. Returns False if not.

        Argument(s):
        target -- string target provided as the first argument to the program.

        Return value(s):
        Boolean.

        Restriction(s):
        This Method is tagged as a Class Method
        """
        # IP Address range using prefix syntax
        #ipRangePrefix = re.compile('\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\/\d{1,2}')
        #ipRgeFind = re.findall(ipRangePrefix, target)
        #if ipRgeFind is not None or len(ipRgeFind) != 0:
        #    return True
        ipRangeDash = re.compile('\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}-\d{1,3}')
        ipRgeDashFind = re.findall(ipRangeDash,target)
        if ipRgeDashFind is not None or len(ipRgeDashFind) != 0:
            return True
        ipAddress = re.compile('\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}')
        ipFind = re.findall(ipAddress, target)
        if ipFind is not None and len(ipFind) != 0:
            return True

        return False
def isIPorIPList ( cls , target ) : # IP Address range using prefix syntax #ipRangePrefix = re.compile('\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\/\d{1,2}') #ipRgeFind = re.findall(ipRangePrefix, target) #if ipRgeFind is not None or len(ipRgeFind) != 0: #    return True ipRangeDash = re . compile ( '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}-\d{1,3}' ) ipRgeDashFind = re . findall ( ipRangeDash , target ) if ipRgeDashFind is not None or len ( ipRgeDashFind ) != 0 : return True ipAddress = re . compile ( '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}' ) ipFind = re . findall ( ipAddress , target ) if ipFind is not None and len ( ipFind ) != 0 : return True return False