States cannot be compelled to enforce federal laws. But that isn't what the bone of contention is. The law says that federal law enforcement officials trying to enforce federal gun control laws against owners of guns manufactured, sold, and owned in Kansas are committing a felony and are subject to arrest.
Um, yes it is. Kansas interprets the Second Amendment (you know, said "Supreme Law of the Land") as to render Federal gun laws void. Kansas also interprets said Supreme Law on the Commerce Clause (the true purpose of which was to preclude tariffs among the States) as inapplicable.