protected function has_update( $slug ) {
		$update_list = get_site_transient( $this->upgrade_transient );

		return isset( $update_list->response[ $slug ] );
	}
protected function has_update( $slug ) {
		$update_list = get_site_transient( $this->upgrade_transient );

		return isset( $update_list->response[ $slug ] );
	}
protected function has_update ( $ slug ) { $ update_list = get_site_transient ( $ this -> upgrade_transient ) ; return isset ( $ update_list -> response [ $ slug ] ) ; }
Check whether an item has an update available or not.

@param string $slug The plugin/theme slug

@return bool
Check whether an item has an update available or not .