Indeed it is - and there doesn't seem to be a sign of "there's a sucker born every minute" - in fact several of these express the exact opposite sentiment. i.e. "Be Kind and Polite to Your Customers."
If you read Barnum's works, he has a much less condescending view of his customers than that quote would suggest, which is probably why those who knew him said it was out of character.