Add Component.valid_key? method