OK, one last attempt to make this clear based on what I've learned- hope this helps!!!
ALL KEYS can be "master" or "sub" keys- this is dependent on the way each is programmed.
GREY NON TRANSMITTER KEYS: These are reffered to as "valet" because they can only access certain MECHANICAL functions, that meaning they are different by the way that the profile on the steel shank of the key is cut, to keep johnny acne face valet driver from riffling though the stuff in your glovebox! (like he'd want to steal my owners manual!!!)
ELECTRONICALLY These can be programmed as masters or as sub keys!!!
BLACK TRANSMITTER KEYS: MECHANICALLY, these, assuming they are cut the way they are supposed to be cut from Toyota, can open any mechanical lock on the vehicle.
ELECTRONICALLY These can also be MASTER or SUB keys depending on how they are programmed. The easiest way to tell is to insert the key into the ignition
TEST METHOD FOR ALL KEYS
RED SECURITY LIGHT OUT IMMEDIATELY: Master Key- Bonus!!
RED SECURITY LIGHT STAYS ON FOR ~ 1 SECOND AFTER INSERTING: You've got a sub key, hope for your sake that you have a master somewhere! Or, hopefully, your vehicle hasnt had the TOYOTA "goodwill" EG ECU replacement done yet- It is apparently tracked by VIN, not by owner, and its a one shot deal- They'll only do it one time per VIN, after that - you pay the big dough!
Best of luck to all affected by this - what a freakin nightmare!!!