def wf_version?(version)
      version = version.to_i if version.is_a?(String) && version =~ /^\d+$/
      return true if version.is_a?(Integer) && version.positive?
      raise Wavefront::Exception::InvalidVersion
    end
def wf_version?(version)
      version = version.to_i if version.is_a?(String) && version =~ /^\d+$/
      return true if version.is_a?(Integer) && version.positive?
      raise Wavefront::Exception::InvalidVersion
    end
Ensure the given argument is a valid version number

 @param version [Integer] the version number to validate
 @return True if the version is valid
 @raise Wavefront::Exception::InvalidVersion if the alert ID is
   not valid