def universal_validation_checks (data, options={})
      # shortcircuit if debugging
      return true if RubyMotionQuery::RMQ.debugging?
      # allow blank data if specified
      return true if (options[:allow_blank] && (data.nil? || data.empty?))
      # allow whitelist data if specified
      return true if (options[:white_list] && options[:white_list].include?(data))

      false
    end
def universal_validation_checks (data, options={})
      # shortcircuit if debugging
      return true if RubyMotionQuery::RMQ.debugging?
      # allow blank data if specified
      return true if (options[:allow_blank] && (data.nil? || data.empty?))
      # allow whitelist data if specified
      return true if (options[:white_list] && options[:white_list].include?(data))

      false
    end
this method shortcuts specific validation rules.  As such it should only be
 added to for universal validation needs.  It must be kept as efficient as possible.