static hasId(id) {
        console.warn(
            "`Model.hasId` has been deprecated. Please use `Model.idExists` instead."
        );
        return this.idExists(id);
    }
Returns a boolean indicating if an entity
with the id `id` exists in the state.

@param  {*}  id - a value corresponding to the id attribute of the {@link Model} class.
@return {Boolean} a boolean indicating if entity with `id` exists in the state
@deprecated Please use {@link Model.idExists} instead.