My personal definition is the presence of switch backs. Every mountain climb I've done seems to involve some sort of switch backs, hills don't.