def wf_tag?(*tags)
      Array(*tags).each do |tag|
        unless tag.is_a?(String) && tag.size < 255 && tag =~ /^[\w:\-\.]+$/
          raise Wavefront::Exception::InvalidTag
        end
      end

      true
    end
def wf_tag?(*tags)
      Array(*tags).each do |tag|
        unless tag.is_a?(String) && tag.size < 255 && tag =~ /^[\w:\-\.]+$/
          raise Wavefront::Exception::InvalidTag
        end
      end

      true
    end
Ensure one, or an array, of tags are valid. These tags are
 used as source tags, or tags for maintenance windows etc. They
 can contain letters, numbers, -, _ and :, and must be less
 than 256 characters long

 @param tags [String, Array] a tag or list of tags
 @return True if all tags are valid
 @raise Wavefront::Exception::InvalidTag