About defined? and local_assigns.has_key?.