How do I check the item in the modifier?

Is there a way to check the item for which the modifier is called? I wanted to check the item and use different modifier functions.

Continue to help post