I believe you meant to say "If it's been set", or if there is a value in the edit text.