added function of to check recently published question in Poll class