`-hasText` was returning false for me if the UITextField had nothing in it, just whitespace in it, or any text in it.  Maybe I was doing something wrong ... anyhow I think abstracting all this logic into a user model factory is probably the way to go.