title: Check if UserDefault exists - Swift
body: <p>I'm trying to check if the a user default exists, seen below:</p>
  
  <pre><code>func userAlreadyExist() -&gt; Bool {
      var userDefaults : NSUserDefaults = NSUserDefaults.standardUserDefaults()
  
      if userDefaults.objectForKey(kUSERID) {
          return true
      }
  
      return false
  }
  </code></pre>
  
  <p>However, no mater what it will always return true even when the object doesn't exist yet? Is this the right way for checking existence ?</p>