use respond_to?