isBlacklisted (prop, blacklist) {
    if (!blacklist || !blacklist.length) {
      return false
    }
    let matches
    for (var i = 0; i < blacklist.length; i++) {
      if (
        (toStr(blacklist[i]) === REGEXP_TAG && blacklist[i].test(prop)) ||
        blacklist[i] === prop
      ) {
        matches = prop
        return !!matches
      }
    }
    return !!matches
  }
Return whether `prop` is matched by any string or regular expression in
`blacklist`.

@example
import { utils } from 'js-data';
const blacklist = [/^\$hashKey/g, /^_/g, 'id'];
console.log(utils.isBlacklisted("$hashKey", blacklist)); // true
console.log(utils.isBlacklisted("id", blacklist)); // true
console.log(utils.isBlacklisted("_myProp", blacklist)); // true
console.log(utils.isBlacklisted("my_id", blacklist)); // false

@method utils.isBlacklisted
@param {string} prop The name of a property to check.
@param {array} blacklist Array of strings and regular expressions.
@returns {boolean} Whether `prop` was matched.
@since 3.0.0