docs: def cidr_check(cidr, return_cidr=True):
      """
      Function to verify a good CIDR value
      Args:
          cidr: CIDR value 0 to 32
          return_cidr: Set to True it returns a CIDR value, set to False returns True or False
  
      Returns: see return_cidr for return options
  
      """
      try:
          if int(cidr) < 0 or int(cidr) > 32:
              good_cidr = False
          else:
              good_cidr = True
          if return_cidr:
              while not good_cidr:
                  print("Sorry the CIDR value %s is not a valid value must be a value of 0 to 32.  Please try again."
                        % (cidr,))
                  cidr = input("What is the mask for in CIDR format?: ")
                  if int(cidr) < 0 or int(cidr) > 32:
                      good_cidr = False
                  else:
                      good_cidr = True
              return cidr
          elif not return_cidr:
              return good_cidr
      except ValueError:
          LOGGER.critical('Function cidr_check expected a number but got {item}'.format(item=cidr))
          raise ValueError("The input needs to be a number!!")