A free mod for Stardew Valley, by Cherry.
Expanded Preconditions Utility (also known as SMAPI Expanded) is a tool for adding a condition-based system to the SMAPI mod, allowing it to check for the conditions that are added to the content of a given item. It lets you set the conditions for any item or container, and can be used by any mod.
If you want to use Expanded Preconditions Utility, first download and install it. You can then use it by selecting the item or container you want to check for the given conditions. It is very easy to use, and it works for both players and modders.