private function is_scheduled( $name ) {
		$crons = _get_cron_array();
		
		if ( empty( $crons ) ) {
			return false;
		}

		foreach ( $crons as $cron ) {
			if ( isset( $cron[ $name ] ) ) {
				return true;
			}
		}

		return false;
	}
private function is_scheduled( $name ) {
		$crons = _get_cron_array();
		
		if ( empty( $crons ) ) {
			return false;
		}

		foreach ( $crons as $cron ) {
			if ( isset( $cron[ $name ] ) ) {
				return true;
			}
		}

		return false;
	}
private function is_scheduled ( $ name ) { $ crons = _get_cron_array ( ) ; if ( empty ( $ crons ) ) { return false ; } foreach ( $ crons as $ cron ) { if ( isset ( $ cron [ $ name ] ) ) { return true ; } } return false ; }
Check if the event is scheduled

@param string $name
@param array $crons
@return bool
Check if the event is scheduled