code: function checkColors(name){
    var colors=Object.getOwnPropertyNames(terminal.colors);
    var bul=false; // boolean to control if its defined the property
  
    for(var i=0; i<colors.length; i++){//iterate over prop names
  
      if(colors[i] === name){//if it is
        bul=true;
      }
    }
    if(bul!==true){//if its finded the statement of the tag
      terminal.colors[name]=terminal.colors.default;
      } 
  }
docs: checks the colors in printBrand