Several replies have already given my answer: It is based on function. Ability to walk up x flights of stairs without being short of breath; ability to tie one's own shoes; ability to see one's own feet ;)
(and, obviously, having those limitations due to excess weight, not some other illness or...