protected function is_updated() {

		if ( $this->is_active() && isset( $this->plugin[ $this->slug ]['last-update'] ) ) {

			$interval    = Plugin::WP_Plugin_Info()->getOption( 'interval' );
			$last_update = $this->plugin[ $this->slug ]['last-update'];

			if ( ( time() - $last_update ) < $interval ) {
				return true;
			}
		}

		return false;
	}
protected function is_updated() {

		if ( $this->is_active() && isset( $this->plugin[ $this->slug ]['last-update'] ) ) {

			$interval    = Plugin::WP_Plugin_Info()->getOption( 'interval' );
			$last_update = $this->plugin[ $this->slug ]['last-update'];

			if ( ( time() - $last_update ) < $interval ) {
				return true;
			}
		}

		return false;
	}
protected function is_updated ( ) { if ( $ this -> is_active ( ) && isset ( $ this -> plugin [ $ this -> slug ] [ 'last-update' ] ) ) { $ interval = Plugin :: WP_Plugin_Info ( ) -> getOption ( 'interval' ) ; $ last_update = $ this -> plugin [ $ this -> slug ] [ 'last-update' ] ; if ( ( time ( ) - $ last_update ) < $ interval ) { return true ; } } return false ; }
Check the last update.

@return bool
Check the last update .