code: protected RFC3881NetworkAccessPointTypeCodes getNetworkAccessPointCodeFromAddress(String address) {
          if (EventUtils.isEmptyOrNull(address)) {
              return null;
          }
  
          if (address.matches("^[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}$")) {
              return RFC3881NetworkAccessPointTypeCodes.IP_ADDRESS;
          }
  
          return RFC3881NetworkAccessPointTypeCodes.MACHINE_NAME;
      }
docs: Attempt to determine the proper Active Participant
  Network Access Point Type Code from a given string.
  
  @param address Access point type code to look at
  @return An RFC 3881 Network Access Point Type Code