[Controllers] Check if the attribut is set and if the key exist.