is_importing() static public method

static public is_importing ( )
 static function set_importing($is_importing)
 {
     // set to NULL to revert to WP_IMPORTING, the standard behaviour
     self::$is_importing = $is_importing;
 }
 function enqueue_action($current_filter, $args, $queue)
 {
     // don't enqueue an action during the outbound http request - this prevents recursion
     if (Jetpack_Sync_Settings::is_sending()) {
         return;
     }
     /**
      * Modify or reject the data within an action before it is enqueued locally.
      *
      * @since 4.2.0
      *
      * @param array The action parameters
      */
     $args = apply_filters("jetpack_sync_before_enqueue_{$current_filter}", $args);
     // allow listeners to abort
     if ($args === false) {
         return;
     }
     // periodically check the size of the queue, and disable adding to it if
     // it exceeds some limit AND the oldest item exceeds the age limit (i.e. sending has stopped)
     if (!$this->can_add_to_queue($queue)) {
         return;
     }
     // if we add any items to the queue, we should try to ensure that our script
     // can't be killed before they are sent
     if (function_exists('ignore_user_abort')) {
         ignore_user_abort(true);
     }
     $queue->add(array($current_filter, $args, get_current_user_id(), microtime(true), Jetpack_Sync_Settings::is_importing()));
 }