What do you mean by not appearing in the menu? Ren'Py menus have nothing to do with our images and you can exclude anything you like when you condition menu choices. If you need predefined lists, there are examples where in the past, we defined lists with tags and added them to exclude list.
Ok, I explain as detailed as English possibly can
I made a menu where you select sex actions after the girl already agreed to have sex. Blowjob, anal, etc. Like in AA, you can do several options one after another as long as you and the girl have enough vitality and joy. Every option changes picture, like anal for anal sex. And they also have internal logic like checking oral skill for blowjob.
Now, "lesser" sex options that don't even have their own skill and are quite rare in terms of pictures, such as footjob or handjob, may or may not be presented in packs. Same goes for many lesbian options, they are very inconsistent. So instead of showing default pics for them we might as well cut them entirely. I mean ONLY lesser, rare ones. In this case the problem is to find out if the pack has them or not. I already have checks like I quoted before, so packs without footjob will not have footjob option.
But I can't possibly check footjob+hidden partner, which is more accurate in this case since it's MC having sex and not some customer. Because as long as there is at least one footjob picture, has_image method will return true even if it goes without hidden partner.