Is Gluten Free with K for P

Is something that is Gluten Free with K for P.  And if no because of oats (as I know some ppl believe oats are part of the 5 grains),  what if it is GF and does not contain oats?