Function not returning a boolean
<p>The isUpdatable method returns undefined when it should be returning true or false. 
Is this a scope issue. When I do a log on the isUpdatable method I see it outputting true and false but the keyup function is returning undefined.  </p>

<pre><code>$( function() {
var updatableEl = ['home', 'block', 'cat'];

inputFields.keyup(function(){
      var $input =  $(this);
      console.log("isUpdatable= ", isUpdatable( $input ));
    });

    function isUpdatable( el ){
        $.each( updatableEl, function( intIndex, objValue ){
           //console.log(" objValue = ", el.hasClass(objValue));
           return el.hasClass(objValue);
        });
    }

});
</code></pre>
