Better to use respond_to? here