code: function isValidInput(type, name, item) {
    if (!type) {
      logger.warn('The type must be given in order to register.');
  
      return false;
    }
  
    if (!name) {
      logger.warn(`The %s must have a name in order to register.`, type);
  
      return false;
    }
  
    if (typeof item !== 'object' && typeof item !== 'function') {
      logger.warn(
        `The %s is a %s, it should be an Object or a function.`,
        item,
        typeof item
      );
  
      return false;
    }
  
    return true;
  }
docs: Returns true if the item is valid, this avoids
  clogging up the library with invalid data.
  @private
  @method
  @name isValidInput
  
  @param {string} type The type of the item/module.
  @param {string} name The name of the item/module.
  @param {Object|function} item The item/module itself.
  @returns {boolean}    Whether the input is valid.