src/Reflection.js
function(name) {
        var list = this.getProperties();
        for (var i in list) {
            if (list[i].getName() === name) {
                return true;
            }
        }
        return false;
    }
function(name) {
        var list = this.getProperties();
        for (var i in list) {
            if (list[i].getName() === name) {
                return true;
            }
        }
        return false;
    }
function ( name ) { var list = this . getProperties ( ) ; for ( var i in list ) { if ( list [ i ] . getName ( ) === name ) { return true ; } } return false ; }
Returns true if a property by the given name exists.

@return bool
Returns true if a property by the given name exists .