Creating custom property to activate boolean modifier dependent on another object being active

Im trying to make a generated collection and some attribute objects do not mesh well with others. Im trying to see if there’s a way to add a property that could activate or deactivate modifiers depending on certain objects being active. Any help would be appreciated, thank you.