This condition evaluates to True if any running transactions have been open for at least 120 seconds. The query returns a list containing the query text and value (in seconds) of the longest running open transactions.
This is a modified version of a query in Paul Randal's post, Script: open transactions with text and plans - Paul S. Randal (sqlskills.com).