code: function(target){
              if(this.exclude){
                  if(target === this.exclude){
                      return false;
                  }
                  // if exclude is array and target is in it
                  if(Object.isArray(this.exclude) && this.exclude.indexOf(target) !== -1){
                      return false;
                  }
              }
              if(!this.checkValidType(target)){
                  return false;
              }
              if(this.filter && !this.filter(target)){
                  return false;
              }
  
              return true;
          }
docs: Checks if an object is a valid target for this action.
  @method checkValidTarget
  @param {Object} target - The target to be checked.
  @return {Bool} `true` if valid.