Added function to check published nodes