nl_tokens: Returns a boolean for whether a full sync is pending start .
pl_tokens: function isPendingSyncStart ( <mask> , siteId ) { const syncStatus = getSyncStatus ( state , siteId ) ; const fullSyncRequest = getFullSyncRequest ( state , siteId ) ; // Is the sync scheduled and awaiting cron? const isScheduled = get ( syncStatus , 'is_scheduled' ) ; if ( isScheduled ) { return true ; } // Have we requested a full sync from Calypso? const requestingFullSync = get ( fullSyncRequest , 'isRequesting' ) || get ( fullSyncRequest , 'scheduled' ) ; if ( ! requestingFullSync ) { return false ; } // If we have requested a full sync, is that request newer than the last time we received sync status? const lastRequested = get ( fullSyncRequest , 'lastRequested' ) ; const lastSuccessfulStatus = get ( syncStatus , 'lastSuccessfulStatus' ) ; if ( ! lastSuccessfulStatus ) { return true ; } return parseInt ( lastRequested , 10 ) > parseInt ( lastSuccessfulStatus , 10 ) ; }